摘要: 一、Thread类的基本用法通过System.Threading.Thread类可以开始新的线程,并在线程堆栈中运行静态或实例方法。可以通过Thread类的的构造方法传递一个无参数,并且不返回值(返回void)的委托(ThreadStart),这个委托的定义如下:[ComVisibleAttribute(true)]public delegate void ThreadStart()我们可以通过如下的方法来建立并运行一个线程。using System;using System.Collections.Generic;using System.Linq;using System.Text;usi 阅读全文
posted @ 2013-06-03 07:01 云中雀 阅读(581) 评论(0) 推荐(0) 编辑