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

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

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

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

3.A write only property will have only get accessor

4.. A write only property will always return a value.

Posted Date:-2021-02-25 10:06:08


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!