Hour 7. Working with Objects in Visual Basic .NET

In Hour 5 we looked at using variables and operators in Visual Basic .NET. In Hour 6 we looked at control structures, such as If statements, looping constructs, and subroutines and functions. There's one more important topic we need to discuss regarding Visual Basic .NET before moving on to future topics. Specifically, we need to examine how to use objects in Visual Basic .NET.

Recall from our discussion of object-oriented programming in Hour 2, “Understanding the ASP.NET Programming Model,” that the key component of an object-oriented programming language is an object, which is an instance of a class. In this hour we'll reexamine the relationship between an object and a class, and we'll discuss ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.