DateTime tarih1 = DateTime.Now; DateTime tarih2 = tarih1.AddYears(1);
Console.WriteLine(tarih1 + " -- " + tarih2);
for (DateTime x = tarih1; x <= tarih2; x = x.AddMonths(1)) { Console.WriteLine(x.Month); }