Q.

Which of the following statements is correct about properties used in C#.NET?

A. Every property must have a set accessor and a get accessor.
B. Properties cannot be overloaded.
C. Properties of a class are actually methods that work like data members.
D. A property has to be either read only or a write only.
Answer» C. Properties of a class are actually methods that work like data members.
3.9k
0
Do you find this helpful?
30

View all MCQs in

DotNet Technology

Discussion

No comments yet