Vidyalelo
C# Programming · Q52

Exception Handling in C Sharp

Programming · C# Programming · question 52

Q52

Choose the wrong statement about the properties used in C#.NET?

A.
Each property consists of accessor as get and set
Answer
B.
A property cannot be either read or write only
C.
Properties can be used to store and retrieve values to and from the data members of a class
D.
Properties are like actual methods which work like data members

Answer: Option A

Solution

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