.NET Framework 4.0 Newbie : Stopwatch.Restart()
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!!!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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!!!