"Inheritance" in C#.
In most simple term, "Inheritance" means creating a new class from an existing class. In more simple terms, if one class (derived class) is using properties of another class (base class) then in that case we can use that classes properties rather creating another class. This can be call as "Re usability".The following diagrams will help you to understand the background concept of this topic.
Figure - 01
Figure -02(Real world example.)
Lesson 07--> Home
No comments:
Post a Comment