Interface vs Abstract class in C#

What is Interface?

An interface is a contract with the list of the method defined in the interface.An interface can only have the method definition.Any class implementing the interface should implement all the methods defined in the interface.

What is Abstract Class?

An abstract class is a special kind of class which can not be instantiated, the main purpose of  abstract class is to define the contract for all subclasses,

The difference between Interface and Abstract class?

Close

About The Author

Deependra Kushwah
Deependra kushwah is a member of the fastest growing bloggers community "betechnical", Author, Youtuber, and hardcore Coder. I love writing code in different languages, I also write blogs on tech tutorials, gadgets review and also post some technical videos on youtube on many topics.

This site uses Akismet to reduce spam. Learn how your comment data is processed.