Click or drag to resize

CollectionExtensionsShuffleT Method (IListT, Random)

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static void Shuffle<T>(
	this IList<T> list,
	Random rng
)

Parameters

list
Type: System.Collections.GenericIListT
rng
Type: SystemRandom

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also