Get List of weeks by giving year and month as parameter C#
<p>I need list of weeks with starting and ending dates by giving int year and  int month,</p>

<p>Example Result,</p>

<p>Week1 = 7/1/2012 to 7/1/2012</p>

<p>Week2 = 7/2/2012 to 7/8/2012</p>

<p>Week3 = 7/9/2012 to 7/15/2012</p>

<p>Week4 = 7/16/2012 to 7/22/2012</p>

<p>Week5 = 7/23/2012 to 7/29/2012</p>

<p>Week6 = 7/30/2012 to 7/31/2012</p>
