When I try to do this...
Item[,] array = new Item[w, h]; // Two dimensional array of class Item, // w, h are unknown at
You can use normal for loop for that.