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.
πŸ’¬ Discuss
βœ… Correct Answer: (C) Properties of a class are actually methods that work like data members.

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
1002
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate