The property idiom is used in Java and C++ programs by declaring get and set methods. We will see how in C#, a property appears to the user of a class as a field, but has a get and set accessor to perform the read and/or write operations.
You will learn:
-
How to create an indexer, which is similar to a property, but instead of looking like a field, an indexer appears as an array to the user.
Download this FREE Webcast now by filling out form on right.