Indexers - C#

The syntax is similar to properties. They can be read/write, read-only, or write-only.

public string this[string name]
{
    get {...}
    set {...}
}