It
provides the ability to hide the internal details of an object from its users.
The
process of binding and hiding the data.
Encapsulation is implemented by using access specifiers. An access specifier defines the scope and visibility of a class member. C# supports the following access specifiers:
- Public
- Private
- Protected
- Internal
- Protected internal
No comments:
Post a Comment