I have System.Collections.Generic.Dictionary dict where A and B are classes, and an instance A a (where dict.ContainsKey(a)
System.Collections.Generic.Dictionary dict
A a
dict.ContainsKey(a)
For me myDict.AsEnumerable does it...
myDict.AsEnumerable