Method | Description | |
---|---|---|
Next ( ) : int |
Returns a nonnegative random number.
|
|
Next ( int max ) : int |
Returns a nonnegative random number less than the specified maximum.
|
|
Next ( int min, int max ) : int |
Returns a random number within a specified range.
|
|
NextBytes ( byte buffer ) : void |
Fills the elements of a specified array of bytes with random numbers.
|
|
NextDouble ( ) : double |
Returns a random number between 0.0 and 1.0.
|
public static Next ( int min, int max ) : int | ||
min | int | The inclusive lower bound of the random number returned. |
max | int | /// The exclusive upper bound of the random number returned. /// maxValue must be greater than or equal to minValue. /// |
return | int |
public static NextBytes ( byte buffer ) : void | ||
buffer | byte | An array of bytes to contain random numbers. |
return | void |