Abstract class & Abstract method in C# | OOP in C# Part-24 | C# OOP Bangla Tutorial


Abstract Class

Abstraction in C# is the process to hide the internal details and showing only the functionality. The abstract modifier indicates the incomplete implementation. The keyword abstract is used before the class or method to declare the class or method as abstract. Also the abstract modifier can be used with indexers, events and properties.

Abstract Method

A method which is declared abstract, has no “body” and declared inside the abstract class only.

إرسال تعليق

أحدث أقدم