Random.Shared Property

Definition

Provides a thread-safe Random instance that may be used concurrently from any thread.

public:
 static property Random ^ Shared { Random ^ get(); };
public static Random Shared { get; }
static member Shared : Random
Public Shared ReadOnly Property Shared As Random

Property Value

A Random instance.

Applies to