摘要: 在需要对程序的执行时间进行精准测试的程序员,不妨使用.Net提供的Stopwatch类,它的命名空间是:System.Diagnostics代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;namespace StopWatch{ class Program { static void Main(string[] args) { Stopwatch sw = new Stopwatch(); sw.Start(); //这 阅读全文
posted @ 2012-04-16 17:43 流浪在阿尔卑斯的野狼 阅读(1848) 评论(0) 推荐(0) 编辑