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
Using reflection:
Dictionary mydic = new Dictionary(); foreach (FieldInfo fi in typeof(typFoo).GetFields(BindingFlags.Public | BindingFlags.Static)) { mydic.Add(fi.GetRawConstantValue(), fi.Name); }