二維數組中的 GetLength() 和 GetLongLength() 區別,誰知道?
二維數組中的 GetLength() 和 GetLongLength() 區別,誰知道?
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