.NET Framework 4.0 : Stopwatch.Restart()

1 view
Skip to first unread message

Amirpooyan Raeessi

unread,
Mar 7, 2011, 3:36:33 PM3/7/11
to cloudin...@googlegroups.com

In .NET Framework 4.0 Stopwatch.Restart() is new addition.

 

Stopwatch sw = new Stopwatch();

 

sw.Start();

 

//Do something

//....

//ERROR!!!

 

 

//Then Restart the Stopwatch

sw.Restart();
Reply all
Reply to author
Forward
0 new messages