i've a Dictionary like
Dictionary<String,List<String>> MyDict=new Dictionary<String,List<String>>();
and which contains
{ "One" { "A", "B", "C" } }
{ "Two" { "C", "D", "E" } }
Now i need to delele the "C" in "One"
so now MyDict will become
{ "One" { "A", "B" } }
{ "Two" { "C", "D", "E" } }
Iterating through the Keyvalue pair and reconstructing the Dictionary will result the required output( Now i'm using this iteration method)
But i s there any way to do this in LINQ?
Cto delete?MyFunc(key,item))