Click or drag to resize

concatConcatT Method (IListIListT, NullableBoolean)

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IList<T> Concat<T>(
	this IList<IList<T>> a,
	Nullable<bool> sameCount = null
)

Parameters

a
Type: System.Collections.GenericIListIListT
An IListT of IListTs to concatenate.
sameCount (Optional)
Type: SystemNullableBoolean
Whether to optimize operations by assuming all sublists have he same lengths. a value means that equal-length values should be checked for.

Type Parameters

T
Type of the IEnumerableTs.

Return Value

Type: IListT
An IListT, with all the elements in the elements of a, concatenated.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListIListT. 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).
Remarks
In cases where you are certain the lists will either have different or same length, set the sameCount accordingly.
See Also