How encapsulation and abstraction defined/used in C#.NET.

Answer Posted / shamim nayab

Encapsulation:
Encapsulation is defined as the process of enclosing
data and function within a physical or logical package.
Abstraction:
Abstraction and encapsulaion are different but related
features.Abstraction enables to make the relevent
information visible

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ienumerable <> in c#?

476


What is data dictionary in c#?

486


How much time will it take to learn unity?

467


What is extension method in c sharp?

474


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

1913






Why are strings immutable c#?

467


What is difference between events and delegates?

484


Why do we need ienumerable in c#?

462


What is the difference between arraylist and list in c#?

456


What is instantiating a class?

508


What is the difference between string keyword and system.string class?

515


What is disconnected data architecture in c#?

479


How to exclude a property from xml serialization?

535


What is a multicast c# delegate?

509


What is the usage of transponders?

539