泛型委托
public delegate T1 Method<T1, T2>(T1 a); static void Main(string[] args) { Method<string, int> method = (string a) => { return a; }; Console.WriteLine(method("有参数返回")); Console.ReadLine(); }
委托-系统
原文:https://www.cnblogs.com/Luck1996/p/11983899.html