Indexers

Indexers

Indexers allow you to access an element of a private array or collection field. When you indicate an index for an instance of a class, indexers will get the right data…