1
Reply

Can we avoid implementation of all methods of interfaces ?

Rajesh Singh

Rajesh Singh

8y
817
0
Reply

    Ans: yes, if a class implements interface partially then it should be declared as abstract. abstract class MyClass : IMyInterface{public void fun1(){throw new NotImplementedException();}public abstract void fun2();}