Why do we use Interface instead of Abstract class in C# .Net

Last Reply on Nov 12, 2014 11:55 PM By Azim

Posted on Nov 12, 2014 11:49 PM

Hi All

   Why we go for interface instead of abstract class?, why we go for explicit and implicit interface? because we can implement method with or without using that particular interface? thanks in advance

Posted on Nov 12, 2014 11:55 PM

We use Interfaces instead of abstract class because we can implement more than 1 interface for one class.

When you design your types so they need to implement multiple contracts, interfaces are simply the only option.


Why is it preferable to use interfaces instead of abstract classes