I am planning to rewrite my Python Tile Engine in C#. It uses a list of all the game objects and renders them on the screen. My problem is that unlike in Python where you ca
You have to declare your array with the datatype object:
object
object[] myArray = { }; myArray[0] = false; myArray[1] = 1; myArray[2] = "test";