I have a Dictionary.
Dictionary
I need to look within that dictionary to see if a value exists based on input from somewhere else and if it e
In my case I use this
var key=dict.FirstOrDefault(m => m.Value == s).Key; dict.Remove(key);