Click here to Skip to main content
15,922,650 members
Home / Discussions / C#
   

C#

 
GeneralRe: Random in C# Pin
Heath Stewart30-Mar-04 4:26
protectorHeath Stewart30-Mar-04 4:26 
GeneralRe: Random in C# Pin
bouli30-Mar-04 4:32
bouli30-Mar-04 4:32 
GeneralRe: Random in C# Pin
Heath Stewart30-Mar-04 4:41
protectorHeath Stewart30-Mar-04 4:41 
GeneralRe: Random in C# Pin
Anonymous30-Mar-04 5:54
Anonymous30-Mar-04 5:54 
GeneralRe: Random in C# Pin
bouli30-Mar-04 5:58
bouli30-Mar-04 5:58 
GeneralRe: Random in C# Pin
Heath Stewart30-Mar-04 6:20
protectorHeath Stewart30-Mar-04 6:20 
GeneralRe: Random in C# Pin
bouli30-Mar-04 6:27
bouli30-Mar-04 6:27 
GeneralRe: Random in C# Pin
Heath Stewart30-Mar-04 8:30
protectorHeath Stewart30-Mar-04 8:30 
All I can tell you is that seeding the Random class with a different seed will create a different series of random numbers. Depending on how fast these objects are being created, it's possible the resolution of the seed you're using isn't great enough to be different. Debug your app (which will slow it down) and make sure that you're getting different values form DateTime.Now.Millisecond for each constructor, or from Environment.TickCount.

 

Microsoft MVP, Visual C#
My Articles
GeneralAssemblies Pin
Skylo30-Mar-04 0:22
Skylo30-Mar-04 0:22 
GeneralRe: Assemblies Pin
Colin Angus Mackay30-Mar-04 0:40
Colin Angus Mackay30-Mar-04 0:40 
GeneralRe: Assemblies Pin
Skylo30-Mar-04 0:48
Skylo30-Mar-04 0:48 
GeneralRe: Assemblies Pin
Colin Angus Mackay30-Mar-04 1:05
Colin Angus Mackay30-Mar-04 1:05 
GeneralRe: Assemblies Pin
Skylo30-Mar-04 1:30
Skylo30-Mar-04 1:30 
GeneralRe: Assemblies Pin
Heath Stewart30-Mar-04 4:00
protectorHeath Stewart30-Mar-04 4:00 
GeneralRe: Assemblies Pin
Skylo30-Mar-04 4:22
Skylo30-Mar-04 4:22 
GeneralRe: Assemblies Pin
Heath Stewart30-Mar-04 4:29
protectorHeath Stewart30-Mar-04 4:29 
GeneralEnabling Transparent Backgrounds in custom components Pin
Tristan Rhodes29-Mar-04 22:55
Tristan Rhodes29-Mar-04 22:55 
GeneralRe: Enabling Transparent Backgrounds in custom components Pin
LongRange.Shooter30-Mar-04 7:19
LongRange.Shooter30-Mar-04 7:19 
GeneralRe: Enabling Transparent Backgrounds in custom components Pin
Tristan Rhodes30-Mar-04 12:02
Tristan Rhodes30-Mar-04 12:02 
QuestionHow to get the Thumb value of the Scrollbar in a RichTextBox Pin
znize29-Mar-04 21:58
znize29-Mar-04 21:58 
AnswerRe: How to get the Thumb value of the Scrollbar in a RichTextBox Pin
Heath Stewart30-Mar-04 4:17
protectorHeath Stewart30-Mar-04 4:17 
GeneralRe: How to get the Thumb value of the Scrollbar in a RichTextBox Pin
znize31-Mar-04 3:51
znize31-Mar-04 3:51 
GeneralRe: How to get the Thumb value of the Scrollbar in a RichTextBox Pin
znize7-Apr-04 7:49
znize7-Apr-04 7:49 
GeneralRe: How to get the Thumb value of the Scrollbar in a RichTextBox Pin
Heath Stewart7-Apr-04 8:37
protectorHeath Stewart7-Apr-04 8:37 
GeneralXml Pin
Appelz29-Mar-04 20:42
Appelz29-Mar-04 20:42 

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.