title: How to add different types of objects in a single array in C#?
body: <p>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 can add almost anything to an array (e.g <code>x = ["jj" , 1, 2.3, 'G', foo]</code>) you can add only one type of objects
  in a C# array (<code>int[] x = {1,2,3};</code>) . Are there any dynamic arrays (similar to the <code>ArrayList()</code> class) or something which allows you to pack different types into a single array? because all the game objects are individual classes.</p>