title: How to calculate the number of months between two dates in C#
body: <p>I am doing this </p>
  
  <pre><code>datediff = (date1 - DateOfDeposit).TotalDays;
  </code></pre>
  
  <p>But this gives the no. of days and I want no.of months.</p>