Click or drag to resize
ListExtrasGetAllCombinationsT Method

Namespace: ANDREICSLIB.ClassExtras
Assembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static List<List<T>> GetAllCombinations<T>(
	this List<T> inlist,
	int minlength = 1,
	int maxlength = -1
)

Parameters

inlist
Type: System.Collections.GenericListT
minlength (Optional)
Type: SystemInt32
maxlength (Optional)
Type: SystemInt32

Type Parameters

T

Return Value

Type: ListListT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListT. 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