How to handle holidays in C# with DateTimeExtensions

from blog Just Some Code, | ↗ original
Do you need to add only working days to a date in C#? Do you need to check if a date is a holiday? This is how to handle holidays in C# with DateTimeExtensions. Don’t store holidays on the database We could have a table in our database with all the holidays in a year and a SQL query to find the holidays between two dates. But, sooner or later we...