Problem solve Get help with specific problems with your technologies, process and projects.

Object-Oriented Programming -- Ch. 4 of Visual Basic 2005: The Complete Reference

This book excerpt explains the ins and outs of object-oriented programming, a model that is used sparingly in VB 6 but frequently in VB 2005.


Visual Basic 2005: The Complete Reference by Ron Petrusha offers an introduction to the various new features VB 2005 and how they compare to the what developers are used to in Visual Basic 6. There are chapters devoted to topics such as event-driven programming, exception handling and the class library; there is also a guide to the new My Namespace and a huge primer on more than 250 language elements.

Chapter 4, Object-Oriented Programming, begins with an overview of the six categories of types in .NET and the four types of members that these types can define. Petrusha then covers inheritance and polymorphism, two important characteristics of object-oriented programming in .NET, and ends with information on the use of interfaces and shared members.

Read the excerpt in this PDF.

Click here to read Chapter 2 of this book, "Data Types and Variables."


Excerpted from the McGraw-Hill book, Visual Basic 2005: The Complete Reference (ISBN 0-0722-6033-5) by Ron Petrusha.
Copyright © 2006. Published by McGraw-Hill Professional Books. Reprinted with permission.

Dig Deeper on .NET Framework 2.0 and Visual Studio 2005 development

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.