Breyta

Deila með


RandomNumberGenerator.Shuffle<T>(Span<T>) Method

Definition

Performs an in-place shuffle of a span using cryptographically random number generation.

public:
generic <typename T>
 static void Shuffle(Span<T> values);
public static void Shuffle<T> (Span<T> values);
static member Shuffle : Span<'T> -> unit
Public Shared Sub Shuffle(Of T) (values As Span(Of T))

Type Parameters

T

The type of span.

Parameters

values
Span<T>

The span to shuffle.

Applies to