C#基础学习之线程【新手学习 欢迎指正】
摘要:
线程是程序中顺序执行的流程,一个进程可以由多个线程组成,给个线程都可能单独执行创建线程和停止线程using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace threadproj{ class Program { static void Main(string[] args) { //Thread类创建并控制线程,该类的构造函数接受ThreadStart委托,该委托包装希望作为单独线程运行的函数 Thread t = ne... 阅读全文
posted @ 2012-05-21 20:06
Perfect_lsh
阅读(157)
评论(0)
推荐(0)
浙公网安备 33010602011771号