Hi,
Question here about 2D-arrays.
I’m running a bit ahead here in the course and made a 2D-array for passwords.
My code is running just fine because the second part of the array is always 5 (5 possible passwords).
But I think the code might crash if I have a different amount of passwords for each level.
In Java you can get the length of the “sub-array” by doing array[0].length().
How does that work in C#.
Here’s a picture of my code to assign a password.