I have a dictionary of type and for a particular case, I need to do a reverse lookup. So for instance suppose I have this entry <\"S
<\"S
How about using the linq function ToDictionary:
var reversedDictionary = dictionary.ToDictionary(x => x.Value, x => x.Key);