iterate in enum values c# code example Example: c# iterate enum var values = Enum.GetValues(typeof(Foos));