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 the O’Reilly learning platform.

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