static void Main (string[] args) { //For FreshMan FreshMan newFreshMan = new FreshMan ("John Doe"); newFreshMan.Greet (); newFreshMan.Display (); //For Sophomore Sophomore newSophomore = new Sophomore ("John Smith"); newSophomore.Greet (); newSophomore.Display (); //For Junior Junior newJunior = new Junior ("Harihar"); newJunior.Greet (); newJunior.Display (); //For Senior Senior newSenior = new Senior ("Kale"); newSenior.Greet (); newSenior.Display (); //For DoctoralStudent DoctoralStudent newDoctoralStudent = new DoctoralStudent ("Hari Ray"); newDoctoralStudent.Greet (); newDoctoralStudent.Display (); //For MastersStudent MastersStudent newMastersStudent = new MastersStudent ("Ab De Villiers"); newMastersStudent.Greet (); newMastersStudent.Display (); Console.ReadKey (); }