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.
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.