c#中的Rank属性和GetUpperBound,GetLowerBound(0)方法
今天使用数组的时候,用到了几个数组的属性,总结如下: Array的Rank 属性:语法:public int Rank { get; } 得到Array的秩(维数)。Array的GetUpperBound 方法:语法:public int GetUpperBound(int dimension) ...
今天使用数组的时候,用到了几个数组的属性,总结如下: Array的Rank 属性:语法:public int Rank { get; } 得到Array的秩(维数)。Array的GetUpperBound 方法:语法:public int GetUpperBound(int dimension) ...