摘要
委托和事件是C#中的两个重要概念,也是初学者的难点,但大多数教科书中对这两个概念的介绍都是借用Windows事件编程来演示,忽略了对事件本质的描述。事实证明,通过恰当的案例不仅可以清楚地描述概念的本质,还将形象地介绍技术的应用场景。
Delegate and event are two important concepts in C# programming, and hard to understand for new learner, most textbooks introduce these concepts by using windows event programming to demonstrate, ignores the essential description of event. In fact, uses a felicitous case not only descripts concept essence clearly, but also imports application scenario of technology.
出处
《现代计算机》
2008年第2期72-75,81,共5页
Modern Computer
关键词
C#
委托
事件
C#
Delegate
Event