Search code examples
c#java.netnanotime

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


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

Looked here, but it isn't much helpful.


Solution

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