public class student : Person
public string schoollastgraduated;
public class employee : Person
public class faculty : employee
public string designation;
public string collegedepartment;
public string subjectload;
public class staff : employee
public string designation;
public string servicedepartment;
public static void Main(string[] args)
student student = new student();
student.name = "Christine Ramos,";
student.phone = 046543791;
Console.WriteLine("Student: " + student.name+" "+student.phone+" "+student.course);
faculty faculty = new faculty();
faculty.name = "Taylor Swift, ";
faculty.subjectload = "Data Structure, OOP, Discrete Mathematics ";
Console.WriteLine("Faculty: " + faculty.name + " " + faculty.salary + " " + faculty.subjectload);
staff staff = new staff();
staff.name = "Ed Sheeran,";
staff.designation = "Room 256";
staff.servicedepartment = "CITE";
Console.WriteLine("Staff: " + staff.name + " " + staff.servicedepartment + " " + staff.designation);