线程的两种启动方式
摘要:
1、没有参数的启动方式:using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace MoreThead{ class TheadProgram { Thread th; static void Main(string[] args) { TheadProgram tp = new TheadProgram(); tp.RunThread(); } private void RunThread() { //启动一个不带参数的线程 th = new Thread(n 阅读全文
posted @ 2009-12-07 21:55 tigerhuolh 阅读(386) 评论(0) 推荐(0) 编辑