.NET Framework 4.0 Newbie : Stopwatch.Restart()

.NET Framework 4.0 Newbie : Stopwatch.Restart()

  • Comments 0

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();

 

Namoskar!!!

Leave a Comment
  • Please add 2 and 2 and type the answer here:
  • Post