- Back to Home »
- C#.NET »
- C#.NET Encapsulation
Posted by :
Sudhir Chekuri
Tuesday, 5 January 2016
- Encapsulation is a procedure of binding data under class name.
- Encapsulation is a procedure of covering up of the data & functions into a single unit called as Class.
- An encapsulated object is often called an abstract data type.
- Rather than defining the data in the form of public, we can declare those fields as private.
- In other words wrapping up of data and methods into a single unit is called as "Encapsulation"(ex:Class,method).