Levon Chen 的脚步

生活在于拥抱改变。

2010年9月1日

C# 对某一部分代码执行时间进行检测

摘要: sealed class CommandTimer : IDisposable{Stopwatch commandStopwatch = new Stopwatch();internal CommandTimer(string command){commandStopwatch.Start();}public void Dispose(){commandStopwatch.Stop();Conso... 阅读全文

posted @ 2010-09-01 13:46 Levon Chen 阅读(293) 评论(0) 推荐(0) 编辑

导航