Jan
15
Written by:
Darren McLeod
Thursday, January 15, 2009 6:17 PM
Once in a while I want to see how long a section of code takes to run and I always forget the best way to do this.
endTime.Subtract(startTime).TotalMilliseconds()
It's so simple it's easy to forget I guess.
Tags: