What is the equivalent to System.nanoTime() in .NET?

Lazlo picture Lazlo · Oct 11, 2009 · Viewed 24.8k times · Source

The title is pretty much self-explanatory, I'm killing myself over this simplicity.

Looked here, but it isn't much helpful.

Answer

Guffa picture Guffa · Oct 11, 2009

I think that the Stopwatch class is what you are looking for.