Split a collection into n parts with LINQ, in VB.Net
问题 Question In VB.Net, If I have a collection like this: Dim collection As IEnumerable(Of Integer) = Enumerable.Range(0, 99) How I could split it in groups/Ienumerables of an indeterminated amount of elements? Conditions Using a LINQ query (not MORELinq or any other 3rd party libs) Not writting a Function , just using (or appending to the collection) a LINQ query avoiding the insertion of a custom and generic procedure to split in parts. Not generating an Anonymous Type (because I will respect