hi,
how do I get the generated int random seed from this code?
I tired something like this but it returns "Sytem.Random" instead of numberCode:ranNum = new Random((int)DateTime.Now.Ticks);
Code:Console.WriteLine(ranNum.ToString());
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 2 of 2
Thread: Random
|
Click Here to Expand Forum to Full Width |