摘要: 委托主要用于保存一个方法的引用,定义一个委托的过程实际上就是创建了一个新类,那么就可以通过new来创建一个委托的实例。示例程序: 1using System; 2using System.Collections.Generic; 3using System.Text; 4 5namespace ConsoleApplication1 6{ 7 public deleg... 阅读全文
posted @ 2007-10-10 17:13 sunfishlu 阅读(177) 评论(0) 推荐(0)