摘要: 代理delegate: 对象引用指向某个特定类型的对象。 代理指向某个特定类型的方法。 代理四步: 定义自定义代理类:public delegate void first(int i); 实例化代理类:first MyDelegate = null; 实例添加方法:MyDelegate += new first(show)... 阅读全文
posted @ 2017-01-16 23:25 D梦 阅读(383) 评论(0) 推荐(0) 编辑