Vidyalelo
C# Programming · Q73

Exception Handling in C Sharp

Programming · C# Programming · question 73

Q73

Choose the statements which makes use of essential properties rather than making data member public in C#.NET?

A.
Properties have their own access levels like private, public, protected etc. which allows it to have better control about managing read and write properties
B.
Properties give us control about what values may be assigned to a member variable of a class they represent
C.
Properties consist of set accessor inside which we can validate the value before assigning it to the data variable
D.
All of the mentioned
Answer

Answer: Option D

Solution

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