create enum from list c# code example
Example: how to make a enum list in c#
List<Days> days = Enum.GetValues(typeof(Days))
.Cast<Days>()
.ToList();
List<Days> days = Enum.GetValues(typeof(Days))
.Cast<Days>()
.ToList();