Original Post
Ok, I'm trying to convert some old C++ projects to C# and I'm having a little problem trying to figure out a good way to do a couple of things. For this post I'm gonna ask how to do pointer pointers as in the following code. struct GState{ int mode; bool active; // more stuff... } int nGridTiles = GridWidth * GridHeight; GState **StateGrid = new GState*[nGridTiles]; memset(StateGrid,0,sizeof(GState*) * nGridTiles); // NULL all pointers Since I don't know the size of the grid till runtime I don't know the size of the array, how can I do this? P.S. sorry for asking somthing that's probably gonna be a really slap my forhead cause I'm stupid for not seeing it question... AGAIN!