Difference between Abstraction and Encapsulation in C#

Abstraction

*Showing only what is necessary
*It is done in Design phase.
*It can be achieved using Abstract class and interface.

Encapsulation

*Hiding the unnecessary data.
*It's done in Coding phase.
*It can be achieved using Access modifiers.

Comments

Popular posts from this blog

Types of Architects

Basic measurements

Search html table contents based on its td using Jquery