Difference between ElapsedTicks, ElapsedMilliseconds, Elapsed.Milliseconds and Elapsed.TotalMilliseconds? (C#)

前端 未结 4 2054
天涯浪人
天涯浪人 2020-12-02 20:19

I\'m totally confused between these 4. What is the difference between ElapsedMilliseconds (long), ElapsedTicks (long), Elapsed.TotalMilliseconds (double) and Elapsed.Millise

4条回答
  •  情深已故
    2020-12-02 21:00

    Elapsed is TimeSpan. If you want to display time, then just Elapsed.ToString() should do that

提交回复
热议问题