You cannot (this is not part of the interface available for subclasses). In this scenario, use something like:
// base class bool MyInterface.DoSomething() { return DoSomething(); } protected bool DoSomething() {...}
Then any subclass can call protected DoSomething() or (better):
protected virtual bool DoSomething() {...}
Now it can simply override and not repeat the implementation of the interface:
public class DerivedClass : BaseClass { protected override bool DoSomething() {
source share