2D Array

porkshopp

Active member
Joined
Apr 13, 2019
Messages
26
Location
Sweden
Programming Experience
Beginner
I have this line of code to print the content of a 2d array, but it doesn't output anything. I have no idea what is wrong.
C#:
for (int k = 0; k < a; k++)
            {
                for (int h = 0; h < 0; h++)
                {
                    Console.WriteLine(Selection[k, h]);
                }
            }
a is the length of the array
 
Back
Top Bottom