Click or drag to resize

IRandom Methods

The IRandom type exposes the following members.

Methods
 NameDescription
Public methodNext Returns a non-negative random integer.
Public methodNext(Int32) Returns a non-negative random integer that is less than the specified maximum.
Public methodNext(Int32, Int32) Returns a random integer that is within a specified range.
Public methodNextBytes Fills the elements of a specified array of bytes with random numbers.
Public methodNextDouble Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.
Public methodNextInt64 Returns a non-negative random integer.
Top
See Also