static-indexers

Static Indexers?

Why are static indexers disallowed in C#? I see no reason why they should not be allowed and furthermore they could be very useful. For example: static class ConfigurationManager { public object this[string name]{ get{ return ConfigurationManager.getProperty(name); } set { ...

Why no static indexers?

Possible Duplicates: How to reference an indexer member of a class in C# comments Static Indexers? As it stands, I have to write my code like this internal class ReportMap { static internal ReportMap Instance { get { return reportMap; } } internal Type this[char c] { get { return data[c]; } ...