摘要: 二维数组: public static void Main(string[] args) { int[,] a = new int[3, 3]; Random rom = new Random(); for (int x = 0; x < a.GetLength(0); x++) { for (in 阅读全文
posted @ 2019-11-20 23:43 Aquiet 阅读(939) 评论(0) 推荐(0) 编辑
摘要: 交错数组:数组元素本身也是一个数组 1 public static void Main(string[] args) 2 { 3 4 int[][] arr = new int[5][]; 5 arr[0] = new int[8]; 6 arr[1] = new int[8]; 7 arr[2] 阅读全文
posted @ 2019-11-20 22:58 Aquiet 阅读(1092) 评论(0) 推荐(0) 编辑