代码:ThreadPool.SetMaxThreads(, ); ThreadPool.QueueUserWorkItem((obj) => { MessageBox.Show("执行线程中的代码"); }); Thread.Sleep(); int n = ; ThreadPool.QueueUserWorkItem((obj) => { MessageBox.Show("传入的参数是:" + Convert.ToInt32(obj)); }, n);