stopwatch csharp

Code Example - stopwatch csharp

                
                        var timer = new Stopwatch();

  timer.Start();
  // do stuff
  timer.Stop();
}