09 2017 档案
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System....
阅读全文
摘要:// 声明一个委托. delegate void Del(string str); // 声明一个与委托签名相同的方法. static void Notify(string name) { Console.WriteLine("Notification received for: {0}", name); } // C# 1.0 和更高版本中创建一个Del委托实例. Del del...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 8 namespace Wrox.ProCSharp.Delegates 9 { 10 ...
阅读全文

浙公网安备 33010602011771号