How to group items by index? C# LINQ

前端 未结 5 726
离开以前
离开以前 2020-12-29 06:22

Suppose I have

var input = new int[] { 0, 1, 2, 3, 4, 5 };

How do I get them grouped into pairs?

var output = new int[][] {         


        
5条回答
提交回复
热议问题