title: Date range Split in C#
body: <p>I need to split the date in month wise for the given start date and end date in C#</p>
  
  <p>Example User Input:</p>
  
  <pre><code>Start date : 5/20/2013
  End date : 11/11/2013
  </code></pre>
  
  <p>I want to split the give date difference in month</p>
  
  <p>Output:</p>
  
  <pre><code>StartDate    EndDate     NumberOfMonth
   5/20/2013   5/31/2013     .5
   6/1/2013    6/30/2013      1
   7/1/2013    7/31/2013      1
   8/1/2013    8/31/2013      1
   9/1/2013    9/30/2013      1
   10/1/2013   10/31/2013     1
   11/1/2013   11/11/2013    .5
  </code></pre>