c# - Microseconds delay -


this question has answer here:

i need delay piece of code processing time in microseconds. tried lots of things such thread.sleep(x), has milliseconds resolution.

i using .net 2.0 in ms visual studio 2013.

 system.diagnostics.stopwatch 

allows small (few nanosecond) ticks, can convert microseconds using this. can let empty while loop long need.

edit: , supported .net 2.0.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -