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
There is such a method – ICollection but as it is explicitly implemented you need to cast your dictionary object to that interface to access it.
((ICollection>)myDict).Add(myPair);
See
The page on this method includes an example.