Click or drag to resize

RandomSourceNext(Int32) Method

Returns a random number less then a specified maximum.

Namespace: Altaxo.Calc.Random
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public override sealed int Next(
	int maxExclusive
)

Parameters

maxExclusive  Int32
The exclusive upper bound of the random number returned. Range: maxExclusive ≥ 1.

Return Value

Int32
A 32-bit signed integer less than maxExclusive.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmaxExclusive is zero or negative.
See Also