Random |
public static class RandomExtensions
The RandomExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| NextBigIntegerSequence | Returns an infinite sequence of uniform random BigInteger within the specified range. | |
| NextBoolean | Returns a random boolean. | |
| NextBytes | Returns an array of uniform random bytes. | |
| NextDecimal | Returns a nonnegative decimal floating point random number less than 1.0. | |
| NextDoubles(Random, Double) | Fills an array with uniform random numbers greater than or equal to 0.0 and less than 1.0. | |
| NextDoubles(Random, Int32) | Returns an array of uniform random numbers greater than or equal to 0.0 and less than 1.0. | |
| NextDoubleSequence | Returns an infinite sequence of uniform random numbers greater than or equal to 0.0 and less than 1.0. | |
| NextFullRangeInt32 | Returns a random number of the full Int32 range. | |
| NextFullRangeInt64 | Returns a random number of the full Int64 range. | |
| NextInt32s(Random, Int32) | Fills an array with uniform random 32-bit signed integers greater than or equal to zero and less than MaxValue. | |
| NextInt32s(Random, Int32, Int32, Int32) | Fills an array with uniform random 32-bit signed integers within the specified range. | |
| NextInt32Sequence | Returns an infinite sequence of uniform random 32-bit signed integers within the specified range. | |
| NextInt64 | Returns a nonnegative random number less than MaxValue. |