Thread Safe Random Source.Instance Property
Provides a globally accessible, thread-safe instance of the random number generator.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public static ThreadSafeRandomSource Instance { get; }Property Value
ThreadSafeRandomSourceRemarks
This instance is intended for use in scenarios where multiple threads require access to a shared random number generator. Using this instance helps avoid issues related to thread safety and ensures consistent random number generation across threads.