Q:

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

0

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


  1. Each property consists of accessor as getting and set.
  2. A property cannot be either read or write-only.
  3. Properties can be used to store and retrieve values to and from the data members of a class.
  4. Properties are like actual methods that work like data members.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

Each property consists of accessor as getting and set.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

If a class ‘demo’ had ‘add’ property with ... >>
<< The correct way to overload +operator?...