.net中统计时间的方法
System.Diagnostics.Stopwatch stopWatch = new System.Diagnostics.Stopwatch();stopWatch.Start();// do Sth.
stopWatch.Stop();
stopWatch.Elapsed.ToString();