Calculating difference between two DateTime objects in C#
<p>I have two DateTime objects in C#, say birthDateTime and curDateTime.</p>

<p>Now, I want to calculate the year difference bewteen current datetime and someone's birthday. I want to do something like</p>

<pre><code>int years = curDateTime- birthDateTime;
//If years difference is greater than 5 years, do something.
  if(years &gt; 5)
    ....
</code></pre>
