I'm on about my third day of C# programming and ran into a confusing issue. I'm attempting to get the biggest index utilized in a 2D Array of booleans. So given:
booleans = new bool[x,y];
booleans[0,0] = false
booleans[0,1] = false
booleans[1,0] = false
booleans[1,1] = false
booleans[2,3] = false
I'm attempting to find that the largest x
value is 2 and the largest y
value is 3.
Thanks for your time!