二維數(shù)組中的 GetLength() 和 GetLongLength() 區(qū)別,誰(shuí)知道?
二維數(shù)組中的 GetLength() 和 GetLongLength() 區(qū)別,誰(shuí)知道?
int[,]?doubleArray?=?new?int[2,3];? for(int?i=0;i<doubleArray.GetLength(0);i++) { ????for(int?j=0,j<doubleArray.GetLength(1);j++) ????{ ????????Console.WriteLine(doubleArray[i,j]); ????} }
2018-03-18