See an easy way to enumerate all the values.
public enum WorkTypes { Remote = 0, Office = 1, Exempted = 2 } foreach (WorkTypes workType in Enum.GetValues(typeof(WorkTypes))) Console.WriteLine(workType);
Visit the DevX Tip Bank