What is OOPS?
Ans : OOPS is an object oriented programming structure.It is method of implementation in which programs are organised as co-operative collection of objects.
In C# OOPS contains below concepts
- Inheritance
- Polimorphisim
- Encapsulation
- Abstraction
Inheritance
Inoreder to get base class functanality in derive class we use inheritance
There are different types of inheritance
- Single Inheritance
- Multiple inheritance
- Multilevel inheritance
- Hierarchical inheritance