Beispiel #1
0
    static void Main()
    {
        GraduateStudent gs = new GraduateStudent();

        gs.Name                     = "Dinesh";
        gs.StudentId                = "111-11-1111";
        gs.MajorField               = "Gender Studies";
        gs.Gpa                      = 3.95;
        gs.UndergraduateDegree      = "PhD";
        gs.UndergraduateInstitution = "Cal";
        gs.Print();
    }
 static void Main()
 {
     GraduateStudent gs = new GraduateStudent();
     gs.Name = "Dinesh";
     gs.StudentId = "111-11-1111";
     gs.MajorField = "Gender Studies";
     gs.Gpa = 3.95;
     gs.UndergraduateDegree = "PhD";
     gs.UndergraduateInstitution = "Cal";
     gs.Print();
 }