HolidaysChallenge

Holiday Challenge Solution C#

Challenge proposal: Create a C# application that, given a date, the application informs it is a holiday or not, considering fixed and mobile holidays.

DateTime List Solution: Created a class that returns a list of datetime that has the year as a parameter.

To compare the date and the list of holidays, the "Contains()" method is used

Holiday List Solution: Create a Holiday class with two attributes (date, holiday name) and a class that returns a holidays list