What is purpose of abstract class?

The purpose of an abstract class (often referred to as an ABC) is to provide an appropriate base class from which other classes can inherit . Abstract classes cannot be used to instantiate objects and serves only as an interface. Attempting to instantiate an object of an abstract class causes a compilation error.

Read more

What is an abstract method C#?

An Abstract method is a method without a body . The implementation of an abstract method is done by a derived class. When the derived class inherits the abstract method from the abstract class, it must override the abstract method. This requirment is enforced at compile time and is also called dynamic polymorphism.

Read more