Example #1
0
    //-----------------------------
    // Miscellaneous other methods.
    //-----------------------------

    // Used for testing purposes.

    public override void Display()
    {
        // First, let's display Person class data elements.

        base.Display();

        // Then, display Student-specific info.

        Console.WriteLine("Student-Specific Information:");
        Console.WriteLine("\tMajor:  " + Major);
        Console.WriteLine("\tDegree:  " + Degree);
        DisplayCourseSchedule();
        Transcript.Display();
    }
Example #2
0
 //*******************************
 public void PrintTranscript()
 {
     Transcript.Display();
 }