Class C# Tutorial

Here is the general form of a property specification:

// interface property
type name {
    get;
    set;
}
An interface can specify an indexer.
An indexer declared in an interface has this general form:

// interface indexer
    element-type this[int index] {
        get;
        set;
    }