Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

convert list of string to dictionary

var res = list.ToDictionary(x => x, x => x);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #list #string #dictionary
ADD COMMENT
Topic
Name
9+1 =