System.Environment.TickCount and the System.Diagnostics.Stopwatch class are two that work well for finer resolution and straightforward usage.
See Also:
- Is DateTime.Now the best way to measure a function’s performance?
- High resolution timer in .NET
- Environment.TickCount vs DateTime.Now
- What’s the best way to benchmark programs in Windows?