如何将数组分别分为奇数和偶数索引的2个数组?例如
int[] a = new int[]{1, 3, 7, 8};
然后得到两个数组
a1:{1,7} a2:{3,8}
c# collections
c# ×1
collections ×1