I'm used to working with arrays in other languages, but I'm new to C# and I'm wondering how to just get the child array of a 2D array.
Here is what I've tried:
int[,] arr = new int[4, 4];
int[] childArr = arr[0];
My error is "Wrong number of indexes 1' inside [], expected
2'." The thing is, I want the child array, not something inside the child array which I think the error is telling me to do with the second index.
Thanks for the help.