![]() |
|
#10
|
|||
|
|||
|
Quote:
Line below creates instance of Random class, and assigns the value to variable named random. var random = new Random(Environment.TickCount); Now, we can call method "Next" any number of times: int randomNumber = random.Next(min, max); |
| Thread Tools | |
| Display Modes | |
|
|