The
methods
of System.Random are listed below. For a list of all members, see the Random Members list.
See Also: Inherited members from System.Object
Public Methods
| Next() : int
Returns a nonnegative random integer.
|
| Next(int) : int
Returns a nonnegative random integer that is less than the specified maximum.
|
| Next(int, int) : int
Returns a random integer that is within a specified range.
|
| NextBytes(byte[])
Fills the elements of a specified array of bytes with random numbers.
|
| NextDouble() : double
Returns a random floating-point number between 0.0 and 1.0.
|
Protected Methods
| Sample() : double
Returns a random floating-point number between 0.0 and 1.0.
|