Click or drag to resize

ListExtensionsRandomizeT Method (IListT, Random)

Randomizes the specified list.

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public static void Randomize<T>(
	this IList<T> list,
	Random random
)

Parameters

list
Type: System.Collections.GenericIListT
The list to randomize.
random
Type: SystemRandom
The randomizer to use.

Type Parameters

T
The type of the elements.

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