You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
B.f is protected and we shouldn't consider it as implementing the interface.
usingSystem;interfaceI{intf();}classA{publicintf(){Console.WriteLine("Correct -> Should be in A.f()");return100;}}classB:A,I{newprotectedvirtualintf(){Console.WriteLine("Incorrect -> Shouldnt be in B.f()");return1;}staticintMain(){Bb=newB();Ii=b;returni.f();}}