Home > Extreme Optimization Statistics Library for .NET > Reference > Extreme.Statistics.Random Namespace


Extreme Optimization Statistics Library for .NET

Shuffler Class

Contains methods for shuffling (randomizing) the members of a collection.

For a list of all members of this type, see Shuffler Members.

System.Object
   Shuffler

[Visual Basic]
NotInheritable Public Class Shuffler
[C#]
public sealed class Shuffler

Remarks

Use the Shuffler class to shuffle the elements of a collection into a _random order. This class has one static (Shared in Visual Basic) method, Shuffle, which is overloaded. The first parameter is an ICollection object. The optional second argument is the _random number generator used to randomize the elements.

You can enumerate elements of a collection directly using the RandomEnumerator class.

Requirements

Namespace: Extreme.Statistics.Random

Assembly: Extreme.Statistics (in Extreme.Statistics.dll)

See Also

Shuffler Members | Extreme.Statistics.Random Namespace | RandomEnumerator