using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
DateTime currentDate = DateTime.Today;
List<DateTime> dates = new List<DateTime>();
if (preDays > 0 || postDays >0)
for (int i = preDays; i >= 1; i--)
DateTime preDate = currentDate.AddDays(-i);
for (int i = 1; i <= postDays; i++)
DateTime postDate = currentDate.AddDays(i);
foreach (DateTime date in dates)