//定义一个委托类型(特殊的引用类型,类似于class)
public delegate bool MyHandler(int num,string name,object obj)
//<in T1, in T2, out TResult> : 委托列表
//in:关键字,用于描述参数的类型(输入方向)
//out:关键字,用于描述返回值的类型(输出方向)
//(T1 arg1, T2 arg2):参数列表。定义时:形参;调用时:实参
public delegate TResult Func<in T1, in T2, out TResult>(T1 arg1, T2 arg2);
标签:总结,委托,arg1,arg2,T2,T1,泛型,public From: https://www.cnblogs.com/changbaishan/p/17707103.html