Refer to the System.Threading namespace on MSDN for full details. Meanwhile here is a quick taste.
System; System.Threading; ThreadTest { Runme() { Console.WriteLine(); Thread.Sleep(10000); } Main(String[] args) { ThreadTest b = ThreadTest(); Thread t = Thread( ThreadStart(b.Runme)); t.Start(); Console.WriteLine(); t.Join(); Console.WriteLine(); } } 本文转自斯克迪亚博客园博客,原文链接:http://www.cnblogs.com/sgsoft/archive/2004/09/22/45398.html,如需转载请自行联系原作者