Click here to Skip to main content
15,885,877 members
Home / Discussions / C#
   

C#

 
QuestionDictionary object (need logic) in C# Pin
Member 89377326-May-12 23:05
Member 89377326-May-12 23:05 
GeneralRe: Dictionary object (need logic) in C# Pin
harold aptroot7-May-12 0:38
harold aptroot7-May-12 0:38 
AnswerRe: Dictionary object (need logic) in C# Pin
Maciej Los7-May-12 1:22
mveMaciej Los7-May-12 1:22 
GeneralRe: Dictionary object (need logic) in C# Pin
Manfred Rudolf Bihy7-May-12 2:30
professionalManfred Rudolf Bihy7-May-12 2:30 
QuestionVertexBuffer for collection of vertex Pin
ITSparrow6-May-12 6:56
ITSparrow6-May-12 6:56 
AnswerRe: VertexBuffer for collection of vertex Pin
Luc Pattyn6-May-12 10:25
sitebuilderLuc Pattyn6-May-12 10:25 
QuestionLooping based on user input Pin
abollmeyer6-May-12 4:08
abollmeyer6-May-12 4:08 
AnswerRe: Looping based on user input Pin
Richard MacCutchan6-May-12 4:21
mveRichard MacCutchan6-May-12 4:21 
C#
for (int count = 0; count < 50; count++)
{
// ...
    array[count] = Convert.ToInt32(addend1);
    count++;
    array[count] = Convert.ToInt32(addend2);

You are using the count variable for two different purposes and by incrementing at this point you are corrupting your loop. You should use a separate variable for your array index.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness

NewsN Queen algorithm design Pin
ShomaL University of AMOL5-May-12 22:45
ShomaL University of AMOL5-May-12 22:45 
AnswerRe: N Queen algorithm design Pin
Sandeep Mewara5-May-12 23:21
mveSandeep Mewara5-May-12 23:21 
GeneralRe: N Queen algorithm design Pin
Richard MacCutchan6-May-12 1:38
mveRichard MacCutchan6-May-12 1:38 
GeneralMy Vote of 1 PinPopular
Keith Barrow6-May-12 2:30
professionalKeith Barrow6-May-12 2:30 
GeneralRe: N Queen algorithm design Pin
PIEBALDconsult6-May-12 5:35
mvePIEBALDconsult6-May-12 5:35 
QuestionImage Encryption Pin
Danial C5-May-12 21:41
Danial C5-May-12 21:41 
AnswerRe: Image Encryption Pin
Sandeep Mewara5-May-12 23:24
mveSandeep Mewara5-May-12 23:24 
QuestionProblems with PathGeometry Pin
gabriel1235-May-12 18:28
gabriel1235-May-12 18:28 
AnswerRe: Problems with PathGeometry Pin
Sandeep Mewara6-May-12 1:23
mveSandeep Mewara6-May-12 1:23 
Questionchoosing a instalation directory fo aplications Pin
smartradio5-May-12 7:48
smartradio5-May-12 7:48 
AnswerRe: choosing a instalation directory fo aplications Pin
Ravi Bhavnani5-May-12 12:56
professionalRavi Bhavnani5-May-12 12:56 
GeneralRe: choosing a instalation directory fo aplications Pin
smartradio7-May-12 14:00
smartradio7-May-12 14:00 
GeneralRe: choosing a instalation directory fo aplications Pin
Ravi Bhavnani7-May-12 14:09
professionalRavi Bhavnani7-May-12 14:09 
QuestionEvent/Appointment Calendar Pin
danieltm34-May-12 23:32
danieltm34-May-12 23:32 
AnswerRe: Event/Appointment Calendar Pin
Ravi Bhavnani5-May-12 13:01
professionalRavi Bhavnani5-May-12 13:01 
Questionstreaming text on panels (sheets) Pin
Danzy834-May-12 11:08
Danzy834-May-12 11:08 
AnswerRe: streaming text on panels (sheets) Pin
Luc Pattyn4-May-12 16:54
sitebuilderLuc Pattyn4-May-12 16:54 

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.