I have a dictionary collection as bleow:
mydic.addvalue(key1, val1) mydic.addvalue(key2, val1) mydic.addvalue(key3, val1) mydic.addvalue(key4, val2) mydic.ad
The answer it's old but this is how I do the same thing without create another Dictionary.
foreach (KeyValuePair x in MyDic) { if (x.Value == "val1")) { MyDic.Remove(x.Key); } }