Differences in Elapsed Ticks property of Stopwatch
-
31-10-2019 - |
문제
ElapsedTicks & Elapsed.Ticks are properties of Stopwatch, which I think should be same. And in case they are same, why they should give different outputs ?
Code :
Stopwatch spwt = Stopwatch.StartNew();
spwt.Stop();
Console.WriteLine(spwt.ElapsedTicks);
Console.WriteLine(spwt.Elapsed.Ticks);
Output :
6
16
Why is this difference observed ? shouldn't it be same ?
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow