Thursday , February 21 2019
Home / Dot Net / C# / Abstract Class in C#

Abstract Class in C#

Abstract Class in C#

An Abstract Class means that, no object of this class can be instantiated, but can make derivation of this. It can serve the purpose of base class only as no object of this class can be created.Abstract Class is denoted by the keyword abstract.

The abstract keyword enables you to create classes and class members that are incomplete and must be implemented in a derived class.

An abstract class cannot be instantiated. The purpose of an abstract class is to provide a common definition of a base class that multiple derived classes can share. For example, a class library may define an abstract class that is used as a parameter to many of its functions, and require programmers using that library to provide their own implementation of the class by creating a derived class.

Abstract classes may also define abstract methods. This is accomplished by adding the keyword abstract before the return type of the method.


1.Derived classes of the abstract class must implement all abstract methods.

2.We can not create object for Abstract Class

3.Abstract class may contains non abstract members.

4.when implementing abstract methods we should use override keyword in derived class


an abstract class can be derive another abstract class


BackTo Classes

Print Friendly, PDF & Email

Give us your valuable feedback


About Murali

Hello everyone I am Software Developer having 3+ years of Experience in Microsoft Technologies and Others. My skills :-, C#,, SQL SERVER, web services, windows Service,Windows applications,HTML,CSS, JavaScript,JQuery,AnjularJs

Check Also

Studyclues_C#_Date Format

Date Formatting in C#

Date Formats in C#: Date Formatting in C# is a date and time format string …