int Next() |
Get a new random System.Int32 value
|
int Next(int max) |
Get a random non-negative integer less than a given upper bound
Throws | | System.ArgumentException | If max is negative |
Returns: | | Parameters: | max: | The upper bound (exclusive) |
|
int Next(int min, int max) |
Get a random integer between two given bounds
Throws | | System.ArgumentException | If max is less than min |
Returns: | | Parameters: | min: | The lower bound (inclusive) | max: | The upper bound (exclusive) |
|
void NextBytes(byte[] buffer) |
Fill a array of byte with random bytes
Parameters: | buffer: | The array to fill |
|
double NextDouble() |
Get a new random System.Double value
Returns: | The random double |
|
P double Sample() |
Get a new random System.Double value
Returns: | The random double |
|