Lecture overview -- Keyboard shortcut: 'u'  Previous page: Indexers [Section] -- Keyboard shortcut: 'p'  Next page: Associative Arrays -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Data Access, Properties, and Methods - slide 13 : 29

Indexers in C#
Indexers allow access to data in an object with use of array notation
a.cs
A Class A with an indexer.
b.cs
A client of A which uses the indexer of A.
output
Output from Main in class B.
bitarray.cs
The class BitArray.
client.cs
A client of class BitArray.