1foreach (EnumerationName oType in Enum.GetValues(typeof(EnumerationName ))) 2{ 3 //Do something with oType 4}
EnumerationName --> the actual name of the Enum whose values you want