developmentor - a developer services company				  
				      
   Modules

Properties


1. A property is a member of a type that...
Is a way to define a field that can never be null
Is used like a field by client code, but implemented as one or two methods by the type developer
Is a way to define a public field that can read-only or read-write

2. True or false: both instance properties and static properties are allowed.
True
False

3. True or false: the C# compiler automatically provides field storage for properties.
True
False

4. Which term is used within the implementation of a property's setter to access the implicit parameter being passed to the property?
this
value
arg
property

5. True or false: the access level (public, private, etc.) of a property can be assigned individually to each access method.
True
False

This material is excerpted from the Programming C# course offered by DevelopMentor.