How do I get TimeSpan in minutes given two Dates?
<p>To get TimeSpan in minutes from given two Dates I am doing the following</p>

<pre><code>int totalMinutes = 0;
TimeSpan outresult = end.Subtract(start);
totalMinutes = totalMinutes + ((end.Subtract(start).Days) * 24 * 60) + ((end.Subtract(start).Hours) * 60) +(end.Subtract(start).Minutes);
return totalMinutes;
</code></pre>

<p>Is there a better way?</p>
