I have an \'optional\' parameter on a method that is a KeyValuePair. I wanted an overload that passes null to the core method for this parameter, but in the core method, wh
KeyValuePair is a struct and hence can't be null under any circumstances. Only a reference type can be null.
If you're trying to catch an incorrect value you'll have to validate the Key and Value members individually.