Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<IEnumerable<T>> Split<T>(this IEnumerable<T>, int)

Declaration

public static IEnumerable<IEnumerable<T>> Split<T>(
    this IEnumerable<T> source,
    int chunkSize
)

Summary

Splits a collection into chunks of equal size. The last chunk may be smaller than chunkSize, but all chunks, if any, will contain at least one item.

Generic type parameters

TThis type parameter is not documented.