GrandtherAzaMarks

Stopwatch

May 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1.  System.Diagnostics.Stopwatch sw = new Stopwatch();
  2.  sw.Start();
  3. //code
  4.  sw.Stop();
  5. Console.WriteLine((sw.ElapsedMilliseconds/100.0).ToString());
Add Comment
Please, Sign In to add comment