SyntaxFix
Write A Post
Hire A Developer
Questions
Use something like this:
class Tree < T > : Dictionary < T, IList< Tree < T > > > { }
It's ugly, but I think it will give you what you want. Too bad KeyValuePair is sealed.