Answers for "two dimensional array c# for loop matrix"

C#
3

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]);
    }
}
Posted by: Guest on February-10-2021

Code answers related to "two dimensional array c# for loop matrix"

C# Answers by Framework

Browse Popular Code Answers by Language