You are here beacause you probably got a Linq error, specifically Operator ‘==’ cannot be applied to operands of type ‘System.Collections.Generic.KeyValuePair
So if you wish to do something like this to KeyValuePair using Linq
You will get this error
Operator ‘!=’ cannot be applied to operands of type ‘System.Collections.Generic.KeyValuePair
Since by default KeyValuePairs are struct.
To solve the issue we need to try out this
Hope this helps
Leave A Comment