Tuesday, 5 January 2016

C#.NET Abstraction

Hiding the complexity and providing the services is called abstraction
In other words hiding the unnecessary data and providing required facilities is called abstraction.
Example: System.Console.ReadKey( );
ReadKey( ) is the method under console class in System namespace which is used directly without bothering about the complex code written in it using abstraction.

Abstraction is achieved using access specifiers.

No comments:

Post a Comment