foreach multidimensional array c# code example
Example: loop through multidimensional array c#
for (int x = 0; x < YourArray.GetLength(0); x++)
{
for (int y = 0; y < YourArray.GetLength(1); y++)
{
Console.WriteLine(YourArray[x, y]);
}
}