[Mono-list] Re: Time problems on Mono

Jordi idroj8@yahoo.com
Wed, 15 Dec 2004 02:55:24 -0800 (PST)


--0-2114735912-1103108124=:82471
Content-Type: text/plain; charset=us-ascii

--- Paolo  wrote:
I use the following methods: 
 DateTime and TimeSpan to calculate the execution time Console.WriteLine() to print it out.


DateTime initial = DateTime.Now;
...
TimeSpan total = DateTime.Now.Subtract( initial );
Console.WriteLine(total.TotalMilliseconds.ToString() ); 


		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.
--0-2114735912-1103108124=:82471
Content-Type: text/html; charset=us-ascii

<html><b>--- Paolo <idroj8 @yahoo.com=""> wrote:</idroj8></b><br>
I use the following methods: <br>
<div style="margin-left: 40px;"> DateTime and TimeSpan to calculate the execution time Console.WriteLine() to print it out.<br>
</div>
<br>
DateTime initial = DateTime.Now;<br>
...<br>
TimeSpan total = DateTime.Now.Subtract( initial );<br>
Console.WriteLine(total.TotalMilliseconds.ToString() ); <br>
<br>
</html><p>
		<hr size=1>Do you Yahoo!?<br> 
Yahoo! Mail - now with 250MB free storage. <a href="http://us.rd.yahoo.com/evt=29914/*http://info.mail.yahoo.com/mail_250">Learn more.</a>
--0-2114735912-1103108124=:82471--