3.2. State/Fields/Data
If we want to record information about a student, what data might we require? Some examples might include the following:
The student's name
His or her student ID number
The student's birth date
His or her address
The student's designated major field of study, if the student has declared one yet
His or her cumulative grade point average (GPA)
The name of the student's faculty advisor
A list of the courses that the student is currently enrolled in this semester (that is, the student's current course load)
A history of all courses that the student has taken to date, the semester/year in which each was taken, and the grade that was earned for each: in other words, the student's transcript
And so on. Now, how about for an academic ...
Get Beginning C# 2008 Objects: From Concept to Code now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.