In Brief

This chapter presented the object-oriented programming (OOP) features in Visual Basic .NET, some of which are new and some of which have existed in Visual Basic 6.0 or earlier. Among the important points of the chapter were:

  • Objects are everywhere in .NET; you will need to understand OOP concepts even if you are not making extensive use of them in your own code.

  • Inheritance indicates relationships between entities in your systems and it can be used to save you from writing redundant code.

  • Namespaces provide a useful way to avoid naming conflicts as well as organize your code.

  • Shared members of classes can be accessed without creating an instance of the class in question.

Get Microsoft® Visual Basic® .NET 2003 Kick Start 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.