Created
July 18, 2015 11:27
-
-
Save revirth/70bc520b3ad2a8fd0b1d to your computer and use it in GitHub Desktop.
StopWatch,Timer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch(); | |
watch.Start(); | |
// something doing | |
watch.Stop(); | |
Response.Write(watch.Elapsed.ToString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment