Click or drag to resize
Random Methods

The Random type exposes the following members.

Methods
  NameDescription
Public methodChooseT(IEnumerableT)
Returns one item from items chosen randomly
Public methodChooseT(ISetT)
Returns one item from set chosen randomly
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 methodGetChoiceStreamT
Returns an infinite stream of randomly chosen items from set
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNum
Returns a random number between 0 and uint.MaxValue inclusive
Public methodGetNum(Int32)
Returns a random number between 0 and maxInclusive inclusive
Public methodGetNum(UInt32)
Returns a random number between 0 and maxInclusive inclusive
Public methodGetNumStream
Returns an infinite stream of random numbers between 0 and maxInclusive inclusive
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 methodShuffleT
Returns items in a random order
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also