摘要: 不需要传递参数,也不需要返回参数 我们知道启动一个线程最直观的办法是使用Thread类,具体步骤如下:ThreadStart threadStart=new ThreadStart(Calculate);Thread thread=new Thread(threadStart); thread.Start(); public void Calculate(){ double Diameter=0.5; Console.Write("The Area Of Circle with a Diameter of {0} is {1}"Diameter,Diameter*Math. 阅读全文
posted @ 2011-10-02 10:19 星月磊子 阅读(165) 评论(0) 推荐(0) 编辑