EnumerableExtensions..::..Shuffle<(Of <(<'T>)>)> Method

Shuffles the specified enumerable.

Namespace:  MichaelBrandonMorris.Extensions.CollectionExtensions
Assembly:  MichaelBrandonMorris.Extensions.CollectionExtensions (in MichaelBrandonMorris.Extensions.CollectionExtensions.dll)

Syntax


public static IEnumerable<T> Shuffle<T>(
	IEnumerable<T> enumerable
)
Public Shared Function Shuffle(Of T) ( _
	enumerable As IEnumerable(Of T) _
) As IEnumerable(Of T)
public:
generic<typename T>
static IEnumerable<T>^ Shuffle(
	IEnumerable<T>^ enumerable
)

Type Parameters

T

Parameters

enumerable
Type: IEnumerable<(Of <(<'T>)>)>
The enumerable.

Return Value

IEnumerable<T>.