Consider this interface and class implementer
interface I
{
string M() => "I.M()";
}
class C: I
{
public string M()=>???.Replace("I","C");
}
Instead of ???
what is the way to invoke the default method? I've tried base.M()
, but it wasn't a fan. And I've also tried base(I).M()
and that didn't work.