Statistics
The Highest Post







Statistics
Count 94
Avg 21.00
Min 21
Max 21
Angualr Top questions

Details



Peter Agyekum What is Abstract Class in C#? If we don't want a class to be instantiated, define the class as abstract. An abstract class can have abstract and non-abstract classes. If a method is defined as abstract, it must be implemented in a derived class. Abstract classes are declared using the abstract keyword. Objects cannot be created for abstract classes. If you want to use it then it must be inherited in a subclass. You can easily define abstract or non-abstract methods within an Abstract class. The methods inside the abstract class can either have an implementation or no implementation.
Related Topics