一 使用委托 //1.声明一个委托类型 internal delegate void Feedback(int value); class Program { //2. 定义一个符合委托类型的方法 private static void FeedbackToConsole(int x) { Console.WriteLine(x.ToString()); } static void Main(string[] args) { //3.构造委托实例 Feedb... Read More
posted @ 2013-03-21 16:39
hechaner
Views(140)
Comments(0)
Diggs(0)