System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch(); watch.Start(); //开始监视代码运行时间 //需要测试的代码 watch.Stop(); //停止监视 TimeSpan timespan Read More
posted @ 2016-12-20 11:23 假面灬兽王 Views(179) Comments(0) Diggs(0)