I have searched this online, but I can\'t find the answer I am looking for.
Basically I have the following enum:
public enum typFoo : int { itemA
Try:
var dict = Enum.GetValues(typeof(fooEnumType)) .Cast() .ToDictionary(t => (int)t, t => t.ToString() );