Enumerable.Shuffle(IEnumerable) Method (System.Linq) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TSource> ^ Shuffle(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Generic.IEnumerable<TSource> Shuffle<TSource>(this System.Collections.Generic.IEnumerable<TSource> source);
static member Shuffle : seq<'Source> -> seq<'Source>
<Extension()>
Public Function Shuffle(Of TSource) (source As IEnumerable(Of TSource)) As IEnumerable(Of TSource)

Type Parameters

Parameters

Returns

Applies to