Tuesday, November 3, 2015

Milliseconds count

 using System.Diagnostics;

Stopwatch watch = new Stopwatch();
watch.Start();

//code here

watch.Stop().
watch.Stop();

return watch.ElapsedMilliseconds;

No comments:

Post a Comment