Rajesh Singh
Can we avoid implementation of all methods of interfaces ?
By Rajesh Singh in .NET on Dec 01 2015
  • Rajesh Singh
    Dec, 2015 1

    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();}

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS