Should I Stop Stopwatch at the end of the method?

后端 未结 4 2032
春和景丽
春和景丽 2021-02-06 20:23

Let\'s imagine we have simple measurements using Stopwatch

public void DoWork()
{
    var timer = Stopwatch.StartNew();
    // some hard work
    Lo         


        
4条回答
提交回复
热议问题