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

Options

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.

Click to view Correct Answer

Previous || Next

Properties - General Questions more questions

A property can be declared inside a namespace or a....

If a Student class has an indexed property which is....

If Sample class has a Length property with get accessor....

An Account class has a property called accountNo and acc....

Suppose a Student class has an indexed property. This property....

Which of the following is the correct way to implement....

Which of the folowing does an indexer allow to index....

An Employee class has a property called age and emp....

Which of the following statements are true about the C#.NET....

Which of the following will be the correct output for....

Attributes - General Questions more Online Exam Quiz

Inheritance - General Questions

Interfaces - General Questions

Namespaces - General Questions

Operators - General Questions

Polymorphism - General Questions

Structures - General Questions

Advanced SQL - General Questions

Data and Database Administration - General Questions

Database Design Using Normalization - General Questions

Database Processing for BIS - General Questions