MoreEnumerableRandom(Random) Method
Returns an infinite sequence of random integers using the supplied
random number generator.
Namespace: MoreLinqAssembly: MoreLinq (in MoreLinq.dll) Version: 4.4.0+6d97c3b1d482f98300f4446df14742b0e3fafbec
public static IEnumerable<int> Random(
Random rand
)
Public Shared Function Random (
rand As Random
) As IEnumerable(Of Integer)
public:
static IEnumerable<int>^ Random(
Random^ rand
)
static member Random :
rand : Random -> IEnumerable<int>
- rand Random
- Random generator used to produce random numbers
IEnumerableInt32An infinite sequence of random integers