Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Indexers permit instances of a class or struct to be indexed in the same way as arrays. Indexers are similar to properties except that their accessors take parameters.

In this section, the following topics are introduced:

For information on associated arrays, see the .NET Framework Hashtable Class.

See Also

Properties | Indexers Tutorial | C# Language Features

© 2015 Microsoft