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

1. Every property must have a set accessor and a get accessor.

2. Properties cannot be overloaded.

3. Properties of a class are actually methods that work like data members.

4. A property has to be either read only or a write only.

  • c. Properties of a class are actually methods that work like data members.
Subscribe Now

Get All Updates & News