Пример #1
0
 public static IEnumerable <DayOfWeek> SortedByIndex() =>
 EnumerationHelper.ToEnumerations <DayOfWeek>()
 .OrderBy(dayOfWeek => dayOfWeek.ToIndex());