随笔分类 -  C#

C#--多线程--2
摘要:多线程小实例:创建一个子线程去完成程序的运行工作using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace Studythread2{ class Program { static void Main(string[] args) { //创建一个线程 Thread thread = new Thread(new ThreadA().Test); //使线程处于就绪状态,没有执行 thread.Start(); } } pub 阅读全文
posted @ 2012-08-06 21:12 Li-鹤鸣 阅读(104) 评论(0) 推荐(0)