How encapsulation and abstraction defined/used in C#.NET.
Answer Posted / animesh
Encapsulation means hiding the inner details from the user
For eg. We know that to open a lock we put key inside it
but what key will do inside the lock is hiddden. We use
inheritance for encapsulation similarly we use Abstract
classes to define abstraction in C#.
| Is This Answer Correct ? | 17 Yes | 16 No |
Post New Answer View All Answers
What is a partial class in c#?
What is the difference between Object and class adapters?
What are the steps to make an assembly to public?
Why do we use delegates in c#?
What is CASPOL?
What is interpolation in programming?
What are anonymous functions in c#?
Is concurrent queue thread safe?
What is a struct in C#?
Explain About sn.exe
Differentiate between sqlclient oledb and providers?
Explain About .NET Framework
What is difference between array and list?
What's the difference between abstraction and encapsulation?
Why do we use Design Pattern in C#?