Indexers
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Indexers

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

Show:
© 2016 Microsoft