title: Difference between two DateTimes C#?
body: <p>I need a function that can return the difference between the below two dates as 24.</p>
  
  <pre><code>DateTime a = new DateTime(2008, 01, 02, 06, 30, 00);
  DateTime b = new DateTime(2008, 01, 03, 06, 30, 00);
  </code></pre>