C# Indexers. how to implement them in D.. also property related.
Steven Schveighoffer
schveiguy at yahoo.com
Tue Jun 29 06:27:15 PDT 2010
On Tue, 29 Jun 2010 09:21:34 -0400, BLS <windevguy at hotmail.de> wrote:
> 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
string opIndex(string columnName);
More information about the Digitalmars-d-learn
mailing list