Click or drag to resize

FastRandom Methods

The FastRandom type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext(Double)
Returns a random number between zero and max value.
Public methodNext(Int32)
Returns a nonnegative random number less or equal than the specified maximum.
Public methodNext(Single)
Returns a random number between zero and max value.
Public methodNext(Double, Double)
Returns a random number between min and max values.
Public methodNext(Int32, Int32)
Returns a random number within a specified range.
Public methodNext(Single, Single)
Returns a random number between min and max values.
Public methodNextBoolean
Returns a single random bit.
Public methodNextBytes
Fills the elements of a specified array of bytes with random numbers.
Public methodNextDouble
Returns a random number between 0.0 and 1.0.
Public methodNextFloat
Returns a random number between 0.0 and 1.0.
Public methodNextInteger
Returns a nonnegative random number.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also