2D Array of 2D Arrays (C# / XNA) [on hold]
- by Lemoncreme
I want to create a 2D array that contains many other 2D arrays. The problem is I'm not quite sure what I'm doing but this is the initialization code I have:
int[,][,] chunk = new int[64, 64][32, 32];
For some reason Visual Studio doesn't like this and says that it's and 'invalid rank specifier'.
Also, I'm not sure how to use the nested arrays…