Comment on Anon tries programming in Java

<- View Parent
Willem@kutsuya.dev ⁨5⁩ ⁨weeks⁩ ago

On that last note, can’t you use the explicit interface implementation in C#?

e.g.

public class SampleClass : IControl, ISurface
{
    void IControl.Paint()
    {
        System.Console.WriteLine("IControl.Paint");
    }
    void ISurface.Paint()
    {
        System.Console.WriteLine("ISurface.Paint");
    }
}

source
Sort:hotnewtop