Returns input in batches of batchSize size.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- collection
- Type: System.Collections.Generic IEnumerable T
Collection to be batched
- batchSize
- Type: System Int32
Size of each chunk (except for the last one)
Return Value
Type: IEnumerable IEnumerable TSee Also