c# dictionary with dictionary as value

48

c# dictionary with dictionary as value -

var collection = new Dictionary<string, Dictionary<string, int>>();
collection.Add("some key", new Dictionary<string, int>());
collection["some key"].Add("inner key", 0);

Comments

Submit
0 Comments