I wanted to add a KeyValuePair to a Dictionary and I couldn\'t. I have to pass the key and the value separately, which must
KeyValuePair
Dictionary
Should somebody really want to do this, here is an Extension
public static void Add(this IDictionary dic, KeyValuePair KVP) { dic.Add(KVP.Key, KVP.Value); }
but i would recommend to not do this if there is no real need to do this