Suppose you could do it like this too.

C#

public void Date() { int dateSpan= 5; int numberOfIteration = 3; for (int i = 1; i <= numberOfIteration; ++i) { DateTime date = DateTime.Now.AddDays(i * dateSpan); } }

dateSpan is the number of days you want to increment by.

numberOfIteration is the number of times you wanted increment the date.

So the date will have added days of dateSpan multiplied by count.

so the first date will be current day + (1 x 5);

so the second ate will be current day + (2 x 5);

and so on....

I hope this helps.

Regards

Jegan