Click here to Skip to main content
16,004,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to self recall after a time interval Pin
Martin#14-Nov-06 2:28
Martin#14-Nov-06 2:28 
AnswerRe: How to self recall after a time interval Pin
Guffa14-Nov-06 2:29
Guffa14-Nov-06 2:29 
QuestionBackgroundWorker CancelSync() ?? Pin
Chris_Green14-Nov-06 2:12
Chris_Green14-Nov-06 2:12 
AnswerRe: BackgroundWorker CancelSync() ?? Pin
Judah Gabriel Himango14-Nov-06 8:51
sponsorJudah Gabriel Himango14-Nov-06 8:51 
QuestionEPS file from TChart Pin
haritus14-Nov-06 1:51
haritus14-Nov-06 1:51 
Questionfixed width tootips Pin
Mridang Agarwalla14-Nov-06 1:01
Mridang Agarwalla14-Nov-06 1:01 
QuestionRandom Class issue Pin
Russell Jones14-Nov-06 0:42
Russell Jones14-Nov-06 0:42 
AnswerRe: Random Class issue Pin
Guffa14-Nov-06 1:02
Guffa14-Nov-06 1:02 
Use a single Random object in the code instead of creating a separate one for each object. The Random object is seeded from the system time when created, so if you create Random objects to closely in time, the randomness will not be good.

Another possible reason is if you actually don't instantiate separate objects, but instantiate only one single object and fill if with data over and over again. When you add the object to the collection, the object isn't copied, it's only the reference to the object that is stored. When you are done you have a collection full of references to the same object, which of course will contain the same data regardless of which reference you use to look at it.


---
b { font-weight: normal; }

GeneralRe: Random Class issue Pin
Russell Jones14-Nov-06 1:09
Russell Jones14-Nov-06 1:09 
AnswerRe: Random Class issue Pin
Guffa14-Nov-06 4:36
Guffa14-Nov-06 4:36 
Questionchange current datagridview row style Pin
gus_br14-Nov-06 0:36
gus_br14-Nov-06 0:36 
AnswerRe: change current datagridview row style Pin
mark_w_14-Nov-06 2:38
mark_w_14-Nov-06 2:38 
QuestionWinforms: how to wrap image and text together Pin
OGG029348083614-Nov-06 0:27
OGG029348083614-Nov-06 0:27 
AnswerRe: Winforms: how to wrap image and text together Pin
led mike14-Nov-06 5:07
led mike14-Nov-06 5:07 
Questioncalling a webmethod Pin
saqib8214-Nov-06 0:23
saqib8214-Nov-06 0:23 
AnswerRe: calling a webmethod Pin
Mircea Puiu14-Nov-06 1:23
Mircea Puiu14-Nov-06 1:23 
QuestionConfigurationManager problem Pin
ranandbe13-Nov-06 23:55
ranandbe13-Nov-06 23:55 
AnswerRe: ConfigurationManager problem Pin
Ed.Poore14-Nov-06 0:19
Ed.Poore14-Nov-06 0:19 
QuestionAccess to the path 'C:\\Program Files\\AAA' is denied." Pin
ranandbe13-Nov-06 23:48
ranandbe13-Nov-06 23:48 
AnswerRe: Access to the path 'C:\\Program Files\\AAA' is denied." Pin
Ed.Poore14-Nov-06 0:19
Ed.Poore14-Nov-06 0:19 
Question.Net 2.0 operation IIS question,help me! Pin
KSCsoft13-Nov-06 23:19
KSCsoft13-Nov-06 23:19 
AnswerRe: .Net 2.0 operation IIS question,help me! Pin
Ed.Poore14-Nov-06 0:21
Ed.Poore14-Nov-06 0:21 
JokeRe: .Net 2.0 operation IIS question,help me! Pin
gus_br14-Nov-06 0:58
gus_br14-Nov-06 0:58 
GeneralRe: .Net 2.0 operation IIS question,help me! Pin
Ed.Poore14-Nov-06 1:47
Ed.Poore14-Nov-06 1:47 
JokeRe: .Net 2.0 operation IIS question,help me! Pin
gus_br14-Nov-06 2:06
gus_br14-Nov-06 2:06 

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.