Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# dictionary get value by key

 Dictionary<string, string> dict = new Dictionary<string, string>();
 dict.Add("UserID", "test");
 string userIDFromDictionaryByKey = dict["UserID"];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dictionary #key
ADD COMMENT
Topic
Name
2+2 =