OOPortal OOPortal


ATL Development   «Prev  Next»

Add read-only properties - Exercise

Objective: Add read-only properties MaxRecs and NumRecs to IReadPhBook.
Add read-only properties MaxRecs and NumRecs to IReadPhBook.

Instructions

Add the read-only properties MaxRecs and NumRecs to IReadPhBook. Please attempt to make them read-only.

MaxRecs should have the following properties:
Name MaxRecs
Property type long


NumRecs should have the following properties:
Name NumRecs
Property type long
When you have added the read-only properties, build the project. Make sure it builds without any errors.

Exercise scoring

This exercise is worth 10 points and is scored automatically. When you are done, click the Submit button and you will receive full credit for the exercise.