inheritance in c#

Inheritance in c#-: Inheritance is a “is a kind of” relationship and the cornerstone of object-oriented programming. For example, a rectangle, an ellipse, and a triangle are “a kind of” shape. Without inheritance, we should have to fully and independently implement the rectangle, ellipse, and triangle classes. It is better to extrapolate the common elements … Read more