📜  orderby make sunday last day c# 代码示例

📅  最后修改于: 2022-03-11 14:48:56.345000             🧑  作者: Mango

代码示例1
var orderedTimeBands = timeBands.OrderBy(x => ((int) x.DayOfWeek + 6) % 7)
                                .ToList()