摘要: using System.Diagnostics; Stopwatch sw = new Stopwatch();sw.Start(); //todo code ....... sw.Stop();Console.WriteLine("执行此段代码耗时:{0} ms", sw.ElapsedMilliseconds); 阅读全文
posted @ 2014-03-11 11:07 songtzu 阅读(240) 评论(0) 推荐(0) 编辑