I have a generic base class and need a list to contain different types
of objects that derive from this.
Public class genericBase<Twhere T: ConfigBase{}
I have tried :
List<genericBase<ConfigBase>_objectTypes
but when I try to add to it using:
ObjectTypes.Add((ObjectType<ObjectConfigBase>)UI);
I get a type conversion exception. Any ideas?