2013年3月5日
摘要: 范例:using System;using System.Diagnostics;using System.Threading;class Program{ static void Main() { // Create new stopwatch Stopwatch stopwatch = new Stopwatch(); // Begin timing stopwatch.Start(); // Do something for (int i = 0; i < 1000; i++) { Thread.Sleep(1); } // Stop timing stopwatch... 阅读全文
posted @ 2013-03-05 15:47 ltyfat 阅读(267) 评论(0) 推荐(0) 编辑