摘要:
1. lambdaexample 1 // Create a basic delegate that squares a number MyDelegate foo = (x) => x * x; Console.WriteLine(... 阅读全文
摘要:
1. delegateexample1class Program{ public delegate int MyDelegate(int i); int MyFunc(int i) { return i; } ... 阅读全文