ASP.NET多线程编程(一) 收藏
摘要:Thread的使用using System;using System.Threading;public class ThreadExample {public static void ThreadProc() { for (int i = 0; i < 10; i++) { Console.WriteLine("ThreadProc: {0}", i); Thread.Sleep(0); }}public static void Main() { Console.WriteLine("在主进程中启动一个线程"); Thread t = new Th
阅读全文
posted @ 2012-05-31 13:25