FastRandom(UInt128) Constructor

Initializes a new instance of the ThreadSafeRandom class using the specified seed value.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
[CLSCompliantAttribute(false)]
public FastRandom(
	UInt128 seed
)

Parameters

seed  UInt128
A number used to calculate a starting value for the pseudo-random number sequence.

Exceptions

ArgumentOutOfRangeExceptionseed must not be zero.

See Also