Vidyalelo
C# Programming · Q10

Classes and Objects in C Sharp

Programming · C# Programming · question 10

Q10

What is the purpose of encapsulation in C#?

A.
To make the class public
B.
To expose the internal state of an object
C.
To hide the internal state of an object
Answer
D.
To destroy the object

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board