C# Indexers. how to implement them in D.. also property related.

BLS windevguy at hotmail.de
Tue Jun 29 06:21:34 PDT 2010


Hi, in C# you can do some thing like this.

public interface IDataErrorInfo
{
     // INDEXER	
     string this[string columnName] { get; }
   }
}

how to translate this into D2 ?
thanks in advance, bjoern


More information about the Digitalmars-d-learn mailing list