Random Methods |
The Random type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChooseT(IEnumerableT) |
Returns one item from items chosen randomly
|
![]() | ChooseT(ISetT) |
Returns one item from set chosen randomly
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetChoiceStreamT |
Returns an infinite stream of randomly chosen items from set |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNum |
Returns a random number between 0 and uint.MaxValue inclusive
|
![]() | GetNum(Int32) |
Returns a random number between 0 and maxInclusive inclusive
|
![]() | GetNum(UInt32) |
Returns a random number between 0 and maxInclusive inclusive
|
![]() | GetNumStream |
Returns an infinite stream of random numbers between 0 and maxInclusive inclusive
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ShuffleT |
Returns items in a random order
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |