create a list and declare enum in 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();