查看方法花费多少时间 stopwatch
摘要:Stopwatch sw=new Stopwatch(); 方法 { sw.Reset(); sw.Start(); ...方法体逻辑 sw.Stop(); sw.ElapsedMilliseconds/1000;//秒级 }
阅读全文
posted @ 2018-01-31 13:49
posted @ 2018-01-31 13:49
posted @ 2018-01-26 10:11
posted @ 2018-01-12 15:34
posted @ 2018-01-09 13:49
posted @ 2018-01-09 13:16
posted @ 2018-01-09 13:09