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.
Correct Answer:
Verified
Q1: What is used to validate complex string
Q2: How many times can a constructor be
Q3: A property can be declared inside a
Q5: Which of the following is NOT a
Q6: In C#.NET if we do not catch
Q7: Which of the following is the Object
Q8: Exceptions can be thrown even from a
Q9: All code inside finally block is guaranteed
Q10: It is compulsory for all classes whose
Q11: Which of the following is NOT an
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents