Properties

Q1: 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.

ANS:C - Properties of a class are actually methods that work like data members.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.