Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dictionary #dictionary
ADD COMMENT
Topic
Name
4+3 =