线程的有关方法和使用
线程的两种调用方式:
1、Thread thread =new Thread(new ThreadStart(方法名));
thread.Start();
2、Thread thread2 = new Thread(new ParameterizedThreadStart(方法名));
thread2.Start(object类型参数)
参考网址:http://kb.cnblogs.com/page/130487/
线程的两种调用方式:
1、Thread thread =new Thread(new ThreadStart(方法名));
thread.Start();
2、Thread thread2 = new Thread(new ParameterizedThreadStart(方法名));
thread2.Start(object类型参数)
参考网址:http://kb.cnblogs.com/page/130487/