Discussion Forum

  1. Home
  2. »
  3. Languages
  4. »
  5. Which of the following statements...
Which of the following statements is correct about properties used in C#.NET?

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

Properties cannot be overloaded.

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

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.
0Shares
0 0

If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here

Know Explanation? Add it Here
we’ll review your comment and contact you soon….

Leave a Reply

Your email address will not be published. Required fields are marked *

error: You are not allowed to do so.....
0Shares
0
Scroll to Top