Метод | Описание | |
---|---|---|
Init ( int seed ) : void | ||
Next ( System.Numerics.BigInteger maxValue ) : System.Numerics.BigInteger |
Returns a BigInteger random number between 0 (inclusive) and maxValue (exclusive). maxValue must be larger than int.MaxValue.
|
|
Next ( int minValue, int maxValue ) : int |
Returns a random number within a specified range.
|
|
Next ( long min, long max ) : long |
Returns a random number within a specified range.
|
|
NextDouble ( ) : double |
Returns a random number between 0.0 and 1.0.
|
public static Next ( System.Numerics.BigInteger maxValue ) : System.Numerics.BigInteger | ||
maxValue | System.Numerics.BigInteger | |
Результат | System.Numerics.BigInteger |
public static Next ( int minValue, int maxValue ) : int | ||
minValue | int | The inclusive lower bound of the random number returned. |
maxValue | int | /// The exclusive upper bound of the random number returned. maxValue must be /// greater than or equal to minValue. /// |
Результат | int |
public static Next ( long min, long max ) : long | ||
min | long | The inclusive lower bound. |
max | long | The exclusive upper bound. |
Результат | long |