using System.Threading;
//线程方法
public void ThreadFunc()
{
//do some thing;
}
//启动线程(传参数)
int a=1;
ParameterizedThreadStart pts= new ParameterizedThreadStart(ThreadFunc);
Thread thread = new Thread(pts);
thread.Start(a);
//启动线程(不传参数)
ThreadStart pts= new ThreadStart(ThreadFunc);
Thread thread = new Thread(pts);
thread.Start();