Bridge

Random Members

The Random type exposes the following members.

Constructors


  Name Description
Public method Random()()()()
Initializes a new instance of the Random class, using a time-dependent default seed value.
Public method Random(Int32)
nitializes a new instance of the Random class, using the specified seed value.

Methods


  Name Description
Public method Next()()()()
Returns a non-negative random integer.
Public method Next(Int32, Int32)
Returns a random integer that is within a specified range.
Public method Next(Int32)
Returns a non-negative random integer that is less than the specified maximum.
Public method NextBytes
Fills the elements of a specified array of bytes with random numbers.
Public method NextDouble
Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0.