his book, Visual Basic .NET Class Design Handbook: Coding Effective Classes , teaches you all about; the role of types in .NET; the different kinds of types that can be created in VB.NET; the fundamental role of methods as containers of program logic; and much more.
This isn’t a dry, theoretical text, and it isn’t about UML object modelling. It seeks to provide practical solutions to everyday issues, and is illustrated with plenty of code examples and counter-examples. The objective is to help you, a VB.NET developer, build a set of instincts that will help you produce better, cleaner, more reusable, more robust classes first time, and avoid having to revisit, refactor or redesign classes later on.
Chapter 6: “Events and Delegates” investigates the importance of event-based programming as the cornerstone of the .NET framework and delves into the delegate mechanism in some detail, along with the .NET Framework event model.
Download the PDF of Chapter 6: “Events and Delegates”
Download the exclusive section onasynchronous delegates that was cut when the book was edited for length.
Reproduced from Visual Basic .NET Class Design Handbook: Coding Effective Classes by permission of Wrox Press. ISBN 1-861007-08-6. All rights reserved.