calender repeat at various frequencies
<p>I have an ASP.Net calendar feature which allows users to add events and
configure whether or not they repeat at various frequencies (i.e, daily,
weekly, monthly, Sat/Sun, etc.). What I'm looking for is some C# code that
will calculate a date of "Every Other Week" based on a starting date and
ending date.</p>

<p>Example: If a user enters an event dated July 7, 2012 and would like it
to repeat every other week until July 31, 2012, the code will return the
following dates:</p>

<p>July 7, 2012
July 14, 2012
July 21, 2012
July 28, 2012</p>

<p>and one more functionality is there to selection of days in week(i.e, mon,tue,wed..).</p>

<p>Any help would be greatly appreciated.</p>
