c# - How to store a collection of Dictionaries? -
i need create various number of dictionary<string, string>
s in c#; how can so?
i've tried using list<dictionary<string, string>>
, doesn't work.
see example:
list<dictionary<string,string>> list = new list<dictionary<string,string>>(); dictionary<string,string> dict1 = new dictionary<string,string>(); list.add(dict1); list.add(new dictionary<string,string>());
Comments
Post a Comment