I\'ve spent a few hours on and off trying to find an answer to this, I\'m probably having trouble with wording the question correctly, which doesn\'t help. Essentially, I ha
So, if I understand correctly, you want something like this:
List
Which can contain any instance of AType, BType, etc. You simply do this by making GenericType itself a subclass of GenericType:
public class GenericType { }
public class GenericType : GenericType { }
public class AType : GenericType { }
public class BType : GenericType { }
You can then stick any instance into a List.