|
Answer» 1. Properties can VALIDATE data before allowing a change.
2. Properties can transparently EXPOSE data on a class where that data is actually retrieved from some other source such as a database.
3. Properties can TAKE an action when data is changed, such as raising an event or changing the VALUE of other FIELDS. 1. Properties can validate data before allowing a change.
2. Properties can transparently expose data on a class where that data is actually retrieved from some other source such as a database.
3. Properties can take an action when data is changed, such as raising an event or changing the value of other fields.
|