FastRandom(UInt64, UInt64) Constructor

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

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
[CLSCompliantAttribute(false)]
public FastRandom(
	ulong seedA,
	ulong seedB
)

Parameters

seedA  UInt64
The first half of the seed that is used to calculate a starting value for the pseudo-random number sequence.
seedB  UInt64
The second half of the seed that is used to calculate a starting value for the pseudo-random number sequence.

Exceptions

ArgumentExceptionBoth seedA and seedB are zero.

See Also