loop on enum code example
Example: loop over enum values
var values = Enum.GetValues(typeof(EnumName));
foreach (var value in values)
{
Combobox.Items.Add(value.ToString());
}
var values = Enum.GetValues(typeof(EnumName));
foreach (var value in values)
{
Combobox.Items.Add(value.ToString());
}