C# Corner

Resources  

About inheritance

Inheritance is a mechanism in which one object acquires all the properties and behaviors of parent class object means that we can inherit the Base class properties which are reusable in New Derived class. It is powerful feature of OOPS (object oriented programming structure) .The main basic idea of inheritance in any programming language to re-usability of codes and overcome the re writing same codes. The idea behind inheritance in Oops programming is that you can create new classes that are built upon existing classes. When you inherit from an existing class, you can reuse methods and fields of parent class, and you can add new methods and fields also. Inheritance represents the IS-A relationship, also known as parent-child relationship. When creating a class, instead of writing completely new data members and member functions, the programmer can designate that the new class should inherit the members of an existing class. This existing class is called the base class, and the new class is referred to as the derived class.

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Unlimited Flat-Free License