C# - List of different types of objects
<p>I want to create a list that contains all the objects for all the different units that are spawned in my game, but they are not all the same class. They all are sub classes of the main unit class if that would help. But basically I have a main unit class with the basic functionality, then more for swordsman, pikeman, etc, and I want to beable to put all different types in one list to be able to manage them easier. Is that possible?</p>