Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

inline creation dictionnary C#

var dict = new Dictionary<string, int>
{
	{ "one", 1 },
	{ "two", 2 },
    { "three", 3 }
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #inline #creation #dictionnary
ADD COMMENT
Topic
Name
4+2 =