摘要: arr[,] 用于声明等长的二维数组 Eg: //声明数组有3行 每行长度相等为2 var s = new int[3, 2] { { 1, 2 }, { 3, 4 }, { 1, 4 } }; 获取行长度 Console.WriteLine(s.GetLength(0)); 获取列长度 Conso 阅读全文
posted @ 2020-08-22 22:03 C余L小R鱼 阅读(908) 评论(0) 推荐(0) 编辑