METHOD
Chunk
Produces successive arrays of at most the specified positive size.
Formal Syntax & Structure
csharp syntaxcsharp
values.Chunk(2)Working Example
Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.values.Chunk(2)