📜  循环遍历多维数组c#代码示例

📅  最后修改于: 2022-03-11 14:48:45.805000             🧑  作者: Mango

代码示例1
for (int x = 0; x < YourArray.GetLength(0); x++)
{
    for (int y = 0; y < YourArray.GetLength(1); y++)
    {
        Console.WriteLine(YourArray[x, y]);
    }
}