摘要: 1.1 命名方法委托,匿名方法委托与Lambda表达式委托的基本概念在上篇文章已经总结,本篇文章主要描述三种方式的写法1.1.1 命名方法委托:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classMyDelegateTest{//步骤1,声明delegate对象publicdelegatevoidMyDelegate(stringname);////这是我们欲传递的方法,它与MyDelegate具有相同的参数和返回值类型publicst 阅读全文
posted @ 2011-01-16 23:21 成长红筹 阅读(1077) 评论(2) 推荐(0)