Essential C# Generating Random Numbers  Suggest an edit

Generate a random int

This example generates random values between 0 and 2147483647.

Random rnd = new Random();
int randomNumber = rnd.Next();


Table Of Contents
22 Enum
25 GUID
107 Stream
108 Timers
145 Generating Random Numbers
  ↑ ↓ to navigate     ↵ to select     Esc to close