is an abstract class a type of interface?
c#, interface, oop
Solution
In C#, interfaces are distinct from classes (even abstract classes);
- interfaces can only define the API (method signatures, event declarations, property declarations), not the implementation (fields, method bodies, etc)
- you can only inherit one base class, but you can implement multiple interfaces
But they have similarities in some usages - for example when used in an abstract factory implementation.
Problem
In my /interfaces folder I put all my interfaces. Is an abstract class a type of interface?