CombinatorialCombinationsT Method (IEnumerableT, Int32) |
Namespace: Gamelogic.Extensions.Algorithms
public static IEnumerable<T[]> Combinations<T>( this IEnumerable<T> list, int m )
Exception | Condition |
---|---|
ArgumentOutOfRangeException | m;must be nonnegative or m;must be smaller than n |