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.phone = 24688642;
student.course = "Networking";
Console.WriteLine("Student: " + student.name+" "+student.phone+" "+student.course);
faculty faculty = new faculty();
faculty.name = "Shinobu Kocho";
faculty.subjectload = "Science, Physical Health";
Console.WriteLine("Faculty: " + faculty.name + " " + faculty.salary + " " + faculty.subjectload);
staff staff = new staff();
staff.name = "Giyu Tamioka";
staff.designation = "Organizer";
staff.servicedepartment = "Academic Club";
Console.WriteLine("Staff: " + staff.name + " " + staff.servicedepartment + " " + staff.designation);