An indexer is a special kind of Property at instance level.
For example:
public class MyBook {
public string this[string stringIndex]
{ get { return null; } set { // }}
public string this[int intIndex] {
{ get { return null; } set { // }}
}
}
MyBook has two indexers, one in the form of string, one in the
form of int.
Example continue:
MyBook aBook = new MyBook();
Console.WriteLine(aBook["Whatever"], aBook[100]);