Chapter 16. Using indexers

After completing this chapter, you will be able to:

Image Encapsulate logical array-like access to an object by using indexers.

Image Control read access to indexers by declaring get accessors.

Image Control write access to indexers by declaring set accessors.

Image Create interfaces that declare indexers.

Implement indexers in structures and ...

Get Microsoft Visual C# Step by Step, 8th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.