>>106496680
Why not just use this https://learn.microsoft.com/en-us/dotnet/api/system.dayofweek?view=net-9.0 ?