3.11. Exercises

  1. From the perspective of an academic setting (but not necessarily the SRS case study specifically), think about what the appropriate fields and methods of the following classes might be:

    • Classroom

    • Department

    • Degree

    Which of the fields of each of these classes should be declared using predefined C# types, and which should be declared using user-defined types? Explain your rationale.

  2. For the problem area whose requirements you defined for exercise 3 in Chapter 2, list the classes that you might need to create in order to model it properly.

  3. Would Color be a good candidate for a user-defined type/class? Why or why not?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset