Indexer (programming): Difference between revisions

Content deleted Content added
m See also: WP:CHECKWIKI errors fixed using AWB (8967)
No edit summary
Line 9:
 
== Implementation ==
Indexers are implemented through the not get and set [[Mutator method|accessor]]s for the {{C_sharp|operator[]}}. They are similar to [[Property (programming)|properties]], but differ by not being [[Static method|static]], and the fact that indexers' accessors take parameters. The get and set accessors are called as methods using the parameter list of the indexer declaration, but the set accessor still has the implicit {{C_sharp|value}} parameter.
 
== Example ==