Extensions for Random.
More...
|
| static Double | NextDouble (this Random random, Double minValue, Double maxValue) |
| | Convenient NextDouble with min/max parameters. More...
|
| |
|
static TElement | RandomElement< TElement > (this Random random, IReadOnlyList< TElement > elements) |
| | Returns random element of an array.
|
| |
◆ NextDouble()
| static Double RandomExtensions.NextDouble |
( |
this Random |
random, |
|
|
Double |
minValue, |
|
|
Double |
maxValue |
|
) |
| |
|
static |
Convenient NextDouble with min/max parameters.
- Exceptions
-
| ArgumentOutOfRangeException | Occurs when minValue > maxValue |