What are indexers in C#?
Indexers are known as the smart arrays in C#. It allows the instances of a class to be indexed in the same way as array.
Example
public int this[int index]
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Indexers are known as the smart arrays in C#. It allows the instances of a class to be indexed in the same way as array.
Example
need an explanation for this answer? contact us directly to get an explanation for this answer