A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://morelinq.github.io/2.0/ref/api/html/M_MoreLinq_MoreEnumerable_Random_4.htm below:

MoreEnumerableRandom Method (Random, Int32)

Returns an infinite sequence of random integers between 0 and maxValue/> using the supplied random number generator.

Namespace: MoreLinq
Assembly:

MoreLinq (in MoreLinq.dll) Version: 2.0.0

Syntax
public static IEnumerable<int> Random(
	Random rand,
	int maxValue
)
Public Shared Function Random ( 
	rand As Random,
	maxValue As Integer
) As IEnumerable(Of Integer)
public:
static IEnumerable<int>^ Random(
	Random^ rand, 
	int maxValue
)
static member Random : 
        rand : Random * 
        maxValue : int -> IEnumerable<int> 
Parameters
rand
Type: SystemRandom
Random generator used to produce values
maxValue
Type: SystemInt32
Exclusive upper bound for random values returned
Return Value

Type:

IEnumerableInt32

An infinite sequence of random integers

Exceptions See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4