What is Encapsulation and Data Hiding?

A Class is combination of different data types and its method is known as Encapsulation. In Class we use many data types to create any Class. We can say that Class uses many data types and as we know class is user defined data type. So, Class hide the system defined data types to create itself. In other word Data Hiding is a terminology to hide the system defined data types in Class.

Comments

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples