What is Encapsulation?
1602
07-Nov-2019
What is Encapsulation C#?
Updated on 07-Nov-2019
Shikhar Arora
10-Nov-2019Encapsulation is grouping the related methods, variables, and properties in a single unit. It is used for protecting the objects and methods of one class from getting accessed by another class. In short, it is hiding the inner parts of the machine from the outside world.