Class Members

If you have experience working with classes in an earlier version of Visual Basic, you already understand the purpose of class members such as fields, methods, and properties. Your previous experience with classes gives you the foundation for learning all the new OOP features that have been added to Visual Basic .NET.

Many of these new features make the language more powerful for programmers who are authoring classes. You have already seen that adding shared members to a class creates design possibilities that did not exist in Visual Basic .NET's predecessors. At this point, we will delve into the different kinds of members you can add to a class. We start by discussing how to add fields and constructors, then consider ways to add ...

Get Building Applications and Components with Visual Basic .NET 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.