Chapter 14. Properties

This chapter continues to build on the previous chapter's object-oriented concepts. You will learn about class properties, including the following topics:

First you will look at what class properties are, why you need them, and a comparison between properties and fields. Next you will look at details on how to implement properties in a class declaration. You will also look at property access modifiers and their relation to visibility of a property. You will continue with a few examples of read-only, read-write, and write-only properties. You will look at parameterized properties, or how to implement properties to access ...

Get Visual Basic® .NET by Example 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.