2010年2月1日
摘要: 今天在sohighthesky的博客上看到了几行代码,其中使用了Stopwatch函数,猜测可能是用来计算一个函数的运行所需时间的.代码如下: Stopwatch wat = new Stopwatch(); wat.Start(); for (int i = 1; i < 100000; i++) { res1 = str.isNumberic1(); } wat.Stop(); Cons... 阅读全文
posted @ 2010-02-01 13:53 魔法皇帝 阅读(2573) 评论(0) 推荐(0) 编辑