c# - Is there an easy way to retrieve the start time stamp from TimeSpan -


what difference between timespan private field starttimestamp , datetime.ticks property? there easy way retrieve starttimestamp (without using reflection) ?

enter image description here

starttimestamp long, it's not timespan , it's not datetime.ticks.

it time stopwatch started, time based on high performance counter, or datetime.ticks if no high performance counter available.

you can current value starttimestamp generated calling stopwatch.gettimestamp() static method.

the starttimestamp not directly exposed can calculate calling

stopwatch.gettimestamp() - stopwatch.getrawelapsedticks()  

Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

java - What is the difference between String. and String.this. ? -