·an interface can declare an indexer
wreadwrite, readonly, writeonly
windexers are not static operators
interface
IDictionary
{
string this [ string word ] { get; set; }
...
}
class Dictionary : IDictionary
{
public virtual string this [ string word ]
{
get { ... }
set { ... }
}
...
}