在软件开发中有时需要挂起一个线程,调用线程对象的Suspend()方法就可以挂起一个线程。
主要程序代码。
System.Threading.Thread th = new System.Threading.Thread(Show); th.Start(); th.Suspend();.