c# create list from enum 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();