IRandom Interface |
public interface IRandom
The IRandom type exposes the following members.
Name | Description | |
---|---|---|
Next | Returns a non-negative random integer. | |
Next(Int32) | Returns a non-negative random integer that is less than the specified maximum. | |
Next(Int32, Int32) | Returns a random integer that is within a specified range. | |
NextBytes | Fills the elements of a specified array of bytes with random numbers. | |
NextDouble | Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0. | |
NextInt64 | Returns a non-negative random integer. |