Chapter 2
Object-Oriented Programming in Visual Basic .NET
As you read in Chapter 1, "Visual Basic .NET from the Ground Up," you really can't do anything in Visual Basic .NET without coming face to face with objects. When you create a standard form in a new project, you have access to the code for the form's class. While this code was present in classic Visual Basic, it was hidden from a programmer's view. Now it is presented to you in the integrated development environment (IDE). A solid understanding of object-oriented programming is a prerequisite for getting the most from Visual Basic .NET. If you are new to object-oriented programming (sometimes abbreviated OOP) or up till now have tried to avoid using it directly, this chapter will make you a believer, and you'll see that it's pretty straightforward, which wasn't the case at first for me.