摘要:
委托的基本概念就不说了,我先简单说一下什么是多播委托。包含多个方法的委托就是多播委托。简单地举了例子:delegate void MyDelegate(); static void Main(string[] args) { MyDelegate my1 = Write; my1 += Read; Console.ReadLine(); } static void Write() { Console.WriteLine("Write t... 阅读全文
posted @ 2012-11-30 18:04
のんきネコ
阅读(304)
评论(0)
推荐(0)

浙公网安备 33010602011771号