摘要: static void Main1() { //通过委托开启一个线程 Action a = Test1; a.BeginInvoke(null, null);//开启一个新的线程去执行a所引用的方法 Console.WriteLine("main");//启动方法之后,先输出了main,再输出tes 阅读全文
posted @ 2017-08-18 11:30 水墨晨诗 阅读(590) 评论(4) 推荐(0) 编辑