随笔分类 - 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
阅读全文
浙公网安备 33010602011771号