RandomEnumerator<T>.Reset Method

Resets the enumerator.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public void Reset()

Implements

IEnumerator.Reset()

Remarks

This method constructs a new random sequence each time it is called. To repeat the same sequence, construct a new RandomEnumerator<T> object using a Random object with the same seed.

See Also