当前位置:编程学习 > C#/ASP.NET >>

谢谢

 我刚学C#不久,请哪位高手指点一下,看看下段代码有错吗 


            // Setup the thread that will actually do all the work of interfacing to
            // the DM644x boot ROM.  Start that thread.
            workerThread = new Thread(new ThreadStart(Program.WorkerThreadStart));
            workerThread.Start();
 

            // Wait for a key to terminate the program
            while ((workerThread.IsAlive) && (Console.KeyAvailable))
            {
                Thread.Sleep(1000);
            }
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,