KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have list of items, for example: { i1, i2, i3, i4, i5, i6, i7 } . I want to get a list, where every item is a pair of items from source list: { {i1, i2}, {i3, i4}, {i5, i6}, {i7} } . i7 is a single item in pair because there is no item i8 . Is it possible to do with LINQ?
Tags (comma-separated)
Save Edits
Cancel