Mono Class Library: Overview

System.Random: Method Members

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 psuedo-random number between 0 and int.MaxValue.
Next(int) : int
Returns a psuedo-random positive number less than the specified maximum.
Next(int, int) : int
Returns a psuedo-random number within a specified range.
NextBytes(byte[])
Populates the elements of a specified array of bytes with random numbers.
NextDouble() : double
Returns a random number between 0.0 and 1.0.

Protected Methods

Sample() : double
Documentation for this section has not yet been entered.