IRandom Type
Generates random numbers. An effect interface, so that code using randomness can be run with a seeded or fixed generator in tests.
Instance members
| Instance member |
Description
|
Full Usage:
this.Next
Parameters:
int * int
Returns: int
Modifiers: abstract |
A random integer from the first value of the tuple, inclusive, to the second, exclusive.
|
Full Usage:
this.NextDouble
Returns: float
Modifiers: abstract |
A random floating-point number that is greater than or equal to 0.0, and less than 1.0.
|
Orsak