GeneralChunkT Method

Definition

Namespace: DWSIM.ExtensionMethods
Assembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 10.0.0.0
public static List<List<T>> Chunk<T>(
	this List<T> locations,
	int nSize = 30
)

Parameters

locations  ListT
 
nSize  Int32  (Optional)
 

Type Parameters

T

Return Value

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