how to calculate difference between two DateTime in ms?
<p>According to msdn DateTime precision is 10 ms. So <code>t2-t1</code> precision in the example below is also 10 ms. However the returned value is "double" what is confusing.</p>

<pre><code>DateTime t1 = DateTime.Now; // precision is 10 ms
....
DateTime t2 = DateTime.Now; // precision is 10 ms
... (t2-t1).TotalMilliseconds; // double (so precision is less than 1 ms???)
</code></pre>

<p>I expect int value because double value doesn't make sense when precision is 10 ms. I need to use resulted value in Thread.Sleep(). Should I just cast to int?</p>
