How to pass key & value to the parent class, Dictionary<string, List<T>>, from inherited class

  • Thread starter Thread starter Jeff0803
  • Start date Start date
J

Jeff0803

Guest
I made a class(MessageListDict) which is inherited from Dictionary<string, List<T>> like the following.

public class MessageListDict : Dictionary<string, List<Message>>

This class is a Dictionary of List.

However I have no idea how to pass key(string) and value(List<T>) to the parent class(Dictionary<string, List<T>>)?

Continue reading...
 
Back
Top