batch()

The batch linq operator returns a new linq object that contains the elements of the collection broken up into "array buckets" of the given 'size'. If the optional 'result selector' is given, then the buckets will contain the
values projected by the result selector (rather than the elements, themselves).