摘要: 虽然线程可以在一定程度上提高程序效率,但也会产生一些副作用。让我们先看看如下代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Net.Sockets;using System.IO;namespace ConsoleApplication1{ class Increment { private int n = 0; private int max; p... 阅读全文
posted @ 2013-06-06 21:15 云中雀 阅读(276) 评论(0) 推荐(0)