摘要: 1. Action: 0到16个参数的 没有返回值的泛型委托 Action action1 = () => { }; Action<int> action2 = i => Console.WriteLine(i); 2. 用Action类型做参数: this.DoNothing(action1); 阅读全文
posted @ 2024-06-10 11:48 apple-hu 阅读(35) 评论(0) 推荐(0)