摘要:
多播委托就是让一个委托能有若干个方法去执行,先看一个代码:delegate int DelegateFunction(int a, int b); class Program { static void Main(string[] args) { DelegateFunction test = new DelegateFunction(Add); test += Minus; Console.WriteLine(test(2, 1)); Console... 阅读全文