摘要: Action<int> al = delegate (int i) { Console.WriteLine(i); }; al(3); //lambda表达式格式的匿名方法的写法 Action<int> a2 = (int i) => { Console.WriteLine(i); }; a2(66 阅读全文
posted @ 2022-02-10 09:37 Tammytan 阅读(32) 评论(0) 推荐(0) 编辑