Properties

Q1: Which of the following statements is correct about properties used in C#.NET?

A A property can simultaneously be read only or write only.

B A property can be either read only or write only.

C A write only property will have only get accessor.

D A write only property will always return a value.

ANS:B - A property can be either read only or write only.

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.