Explicit Interface Implementation

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 14 21:29:43 PST 2015


On 02/14/2015 12:13 PM, Adam D. Ruppe wrote:
> On Saturday, 14 February 2015 at 20:08:09 UTC, Ali Çehreli wrote:
>>     int foo()
>>     {
>>         return 42;
>>     }
>
>
> the difference is C# also allows you to implement A.foo separately from
> B.foo. I don't think D allows that.

Yeah, I obviously read too little of the C# document. Basically, I 
implemented their presentation of the problem. :)

Ali



More information about the Digitalmars-d-learn mailing list