NSequenceRandom(Int32, Int32, Int32) Method

Creates a sequence from random values inside an interval.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static NSequence Random(
	int size,
	int lowerBound,
	int upperBound
)

Parameters

size  Int32
The size of the sequence.
lowerBound  Int32
The lower bound for the random values.
upperBound  Int32
The upper bound for the random values.

Return Value

NSequence
A random sequence of integers in the given interval.

Remarks

The upperBound is exclusive.

See Also