devxlogo

Book Excerpt: ”VB.NET Class Design Handbook: Coding Effective Classes”

Book Excerpt: ”VB.NET Class Design Handbook: Coding Effective Classes”

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.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist