I want to declare a dictionary that stores typed IEnumerable\'s of a specific type, with that exact type as key, like so: (Edited to follow johny g\'s comment)<
IEnumerable
Make a custom Dictionary class:
public class BaseClassDictionary> : Dictionary> where T : BaseClass { }
Then you can use this specialized dictionary instead as field type:
private BaseClassDictionary> myDictionary;