convert list of string to dictionary

108

convert list of string to dictionary -

var res = list.ToDictionary(x => x, x => x);

Comments

Submit
0 Comments