I want to initialize a Dictionary containing a key and a List
In standard C#
var dic1 = new Dictionary<string, List<int>>() { { "L1" , new List<int>() { 1,2,3 } }, { "L2" , new List<int>() { 1,2,3 } }, };
In C# with Dynamic Sugar
var dic2 = DS.Dictionary( L1:DS.List(1,2,3), L2:DS.List(1,2,3) );
ReplyDeleteI feel satisfied to read your blog, you have been delivering a useful & unique information to our vision.keep blogging.
python internship | web development internship |internship for mechanical engineering students |mechanical engineering internships |java training in chennai |internship for 1st year engineering students |online internships for cse students |online internship for engineering students |internship for ece students|data science internships |