It allows an instance of the class to behave as an array. We can add a collection and access it through the index.
class IndexerExample
{
// define indexer here
}
//access indexer
IndexerExample ie = new IndexerExample();
// Inserting values in ix[]
ie[0] = "C";
ie[1] = "SHARP";
iE[2] = "CORNER";