Ok I've got in a bit of a pickle. Conceptially it works out.
I have some small 2D grids in [,] format. I want an array of these. Conceptially I don't want a 3D grid, just a series of 2D grids.
To make it worse I need to be able to send a 2D grid as a parameter to a function.
I've done some experimenting but not suprisingly no luck.
For a start should I be doing array[][,] or array[,][]?
And these are arrays of a type so I'll be needing to new them.
And finally pass one as a parameter like func(array[i]).
Sorry for all these questions!
I have some small 2D grids in [,] format. I want an array of these. Conceptially I don't want a 3D grid, just a series of 2D grids.
To make it worse I need to be able to send a 2D grid as a parameter to a function.
I've done some experimenting but not suprisingly no luck.
For a start should I be doing array[][,] or array[,][]?
And these are arrays of a type so I'll be needing to new them.
And finally pass one as a parameter like func(array[i]).
Sorry for all these questions!