Click or drag to resize
MoreEnumerableRandom Method (Int32)
Returns an infinite sequence of random integers between 0 and maxValue.

Namespace:  MoreLinq
Assembly:  MoreLinq (in MoreLinq.dll) Version: 2.2.0
Syntax
public static IEnumerable<int> Random(
	int maxValue
)

Parameters

maxValue
Type: SystemInt32
exclusive upper bound for the random values returned

Return Value

Type: IEnumerableInt32
An infinite sequence of random integers
See Also