Indexers, Enumerators, and Iterators

Eric Gunnerson · Apress eBooks · 2012

It is sometimes useful to be able to treat an object as if it were an array and access it by index. This can be done by writing an indexer for the object. In the same way that a property looks like a field but has accessors to perform get and set operations, an indexer looks like an array but has accessors to perform array-indexing operations.

Read the paper · More papers on PaperTik