Previous Page
Next Page

Understanding the Property Restrictions

Properties look, act, and feel like fields. However, they are not true fields, and certain restrictions apply to them:

NOTE
To make a property read-only, simply omit the set accessor.

Previous Page
Next Page