static void Main(string[] args) { int[,] nums = new int[3, 5]; Console.WriteLine(nums.Length); Console.WriteLine(nums.LongLength); Console.WriteLine(nums.Rank); Console.WriteLine(nums.GetLength(0)); Console.WriteLine(nums.GetLength(1)); Console.WriteLine(nums.GetLongLength(0)); Console.WriteLine(nums.GetLongLength(1)); Console.WriteLine(nums.GetLowerBound(0)); Console.WriteLine(nums.GetLowerBound(1)); Console.WriteLine(nums.GetUpperBound(0)); Console.WriteLine(nums.GetUpperBound(1)); }
原文:http://www.cnblogs.com/hucemail/p/5336973.html