摘要:
1. 委托概述“委托”相当于C++中的“函数指针”,委托必须与所要“指向”的函数在“参数”和“返回类型”上保持一致;// 定义Person类public class Person { public string Name = "Rain Man"; public string Speak(string words) { Console.WriteLine(this.Name + " said: " + words); return words; }}// 定义委托public delegate string Dele_Speak(string st... 阅读全文