摘要: 对C#线程的一些总结,如有差错请指出(Email:showonce@outlook.com),谢谢 阅读全文
posted @ 2015-12-24 17:27 showonce 阅读(4056) 评论(0) 推荐(0) 编辑
摘要: 当一个函数有返回值的时候用,用Func委托方法。例如:static int sum(int x){return x+x;}Func a = sum;当一个函数没有返回值的时候,用Action委托方法例如:static void sum(int x){ Console.WriteLine(x+x);... 阅读全文
posted @ 2015-12-24 09:08 showonce 阅读(354) 评论(0) 推荐(0) 编辑