Google News
logo
.Net - Interview Questions
What is inheritance in .Net? Explain its importance.
Inheritance is a crucial aspect of object-oriented programming that allows developers to create new classes that are built upon existing classes. This is achieved by reusing, extending, and modifying the behaviors defined in classes. The class whose members are inherited is the base class, while the class that inherits those members is called the derived class.
Advertisement