string date1 = "2017-10-05";
DateTime Date1 = DateTime.Parse(date1);
string date2 = "2017-10-14";
DateTime Date2 = DateTime.Parse(date2);
DateTime incrementedDate = Date1;
while (incrementedDate < Date2)
{
incrementedDate = incrementedDate.AddDays(1);
Console.WriteLine(incrementedDate.ToString("yyyy-MM-dd"));
}