October 2008
Beginner to intermediate
680 pages
16h 48m
English
We'll start with the CourseCatalog class. This is a new class to the SRS implementation that stores Course object references in a Dictionary collection using the course numbers as the keys. In addition to the Dictionary, the CourseCatalog class maintains two string data elements that contain the names of the files that store the course catalog and course prerequisite data. The three data elements are implemented using auto-implemented properties.
using System; using System.Collections.Generic; using System.IO; public class CourseCatalog { //------------------------------- // Auto-implemented properties. //------------------------------- public string CourseCatalogFile { get; set; } public string PrerequisitesFile { get; set; ...Read now
Unlock full access