Click here to Skip to main content
15,888,816 members
Home / Discussions / C#
   

C#

 
AnswerRe: Full Code with error msg Pin
OriginalGriff17-Jun-12 22:37
mveOriginalGriff17-Jun-12 22:37 
QuestionPDU to Text / String Pin
M Riaz Bashir17-Jun-12 22:15
M Riaz Bashir17-Jun-12 22:15 
AnswerRe: PDU to Text / String Pin
Richard MacCutchan17-Jun-12 22:33
mveRichard MacCutchan17-Jun-12 22:33 
GeneralRe: PDU to Text / String Pin
Luc Pattyn18-Jun-12 4:51
sitebuilderLuc Pattyn18-Jun-12 4:51 
GeneralRe: PDU to Text / String Pin
Richard MacCutchan18-Jun-12 5:08
mveRichard MacCutchan18-Jun-12 5:08 
GeneralRe: PDU to Text / String Pin
Luc Pattyn18-Jun-12 5:30
sitebuilderLuc Pattyn18-Jun-12 5:30 
GeneralRe: PDU to Text / String Pin
Richard MacCutchan18-Jun-12 6:46
mveRichard MacCutchan18-Jun-12 6:46 
QuestionAnother error msg Pin
Member 833684817-Jun-12 21:47
Member 833684817-Jun-12 21:47 
Hi can anyone tell me why the myDice which is the underlined part is giving me thie following error please.

name 'myDice' does not exist in the current context

I have up the top of the coding the following so not sure why it is not picking up this particular myDice.
int[] Dice = new int[] { 0, 0, 0, 0, 0, };
int[] myDice = new int[] { 0, 0, 0, 0, 0 };


public int AddUpDice( int DieNumber, int[] Dice )
            {
                int Sum = 0;

                for (int i = 0; i < 5; i++)
                {
                    if (myDice[i].RollNumber == DieNumber)
                    {
                        Sum += DieNumber;
                    }
                }

                return Sum;
        }

AnswerMessage Removed Pin
17-Jun-12 21:53
professionalAmitGajjar17-Jun-12 21:53 
Generale: Another error msg Pin
AmitGajjar18-Jun-12 2:00
professionalAmitGajjar18-Jun-12 2:00 
GeneralRe: Another error msg Pin
Dave Kreskowiak18-Jun-12 2:01
mveDave Kreskowiak18-Jun-12 2:01 
GeneralRe: Another error msg Pin
AmitGajjar18-Jun-12 2:06
professionalAmitGajjar18-Jun-12 2:06 
GeneralRe: Another error msg Pin
Dave Kreskowiak18-Jun-12 4:22
mveDave Kreskowiak18-Jun-12 4:22 
AnswerRe: Another error msg Pin
markovl17-Jun-12 21:55
markovl17-Jun-12 21:55 
AnswerRe: Another error msg Pin
OriginalGriff17-Jun-12 22:08
mveOriginalGriff17-Jun-12 22:08 
GeneralRe: Another error msg Pin
Member 833684817-Jun-12 22:30
Member 833684817-Jun-12 22:30 
GeneralRe: Another error msg Pin
OriginalGriff17-Jun-12 22:39
mveOriginalGriff17-Jun-12 22:39 
AnswerRe: Another error msg Pin
Richard MacCutchan17-Jun-12 22:31
mveRichard MacCutchan17-Jun-12 22:31 
GeneralRe: Another error msg Pin
Member 833684817-Jun-12 22:50
Member 833684817-Jun-12 22:50 
GeneralRe: Another error msg Pin
Richard MacCutchan17-Jun-12 23:04
mveRichard MacCutchan17-Jun-12 23:04 
GeneralRe: Another error msg Pin
AmitGajjar17-Jun-12 23:37
professionalAmitGajjar17-Jun-12 23:37 
Questionweb streaming Pin
tharu123917-Jun-12 5:11
tharu123917-Jun-12 5:11 
AnswerRe: web streaming Pin
OriginalGriff17-Jun-12 6:22
mveOriginalGriff17-Jun-12 6:22 
AnswerRe: web streaming Pin
Dave Kreskowiak17-Jun-12 7:37
mveDave Kreskowiak17-Jun-12 7:37 
GeneralRe: web streaming Pin
tharu123917-Jun-12 18:48
tharu123917-Jun-12 18:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.