- Random - Random() 
- Random(Int32) 
- Shared 
- GetItems<T>(ReadOnlySpan<T>, Int32) 
- GetItems<T>(ReadOnlySpan<T>, Span<T>) 
- GetItems<T>(T[], Int32) 
- Next() 
- Next(Int32) 
- Next(Int32, Int32) 
- NextBytes(Byte[]) 
- NextBytes(Span<Byte>) 
- NextDouble() 
- NextInt64() 
- NextInt64(Int64) 
- NextInt64(Int64, Int64) 
- NextSingle() 
- Sample() 
- Shuffle<T>(Span<T>) 
- Shuffle<T>(T[]) 
- Choose<TResult>(Random, List<TResult>) 
 
net9.0
    namespace System
{
    public class Random
    {
        public void GetItems<T>(ReadOnlySpan<T> choices, Span<T> destination);
    }
}
            | Design Reviews | 
 | 
|---|---|
| .NET | 8.09.0 | 
| Information specific to net9.0 | |
| Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a | 
| Referencing | The API is automatically referenced. | 
| Platform Restrictions | This API is supported on all platforms. | 
- Built-in API
- Package-provided API