摘要: System.Diagnostics.Stopwatch stopWatch2= new System.Diagnostics.Stopwatch();stopWatch2.Start();// the code that you want to know the time beingcomsumed.stopWatch2.Stop();string resTotal = stopWatch2.Elapsed.TotalMilliseconds.ToString(); 阅读全文
posted @ 2011-07-06 13:54 withsoso 阅读(126) 评论(0) 推荐(0) 编辑