public static void Main()
Employee e1 = new Employee("michael", "administration", 4000);
Employee e2 = new Employee("sean", "public relations", 12000);
Employee e3 = new Employee("noah", "shipping", 6000 );
Console.WriteLine(e1.info());
Console.WriteLine(e2.info());
Console.WriteLine(e3.info());
Console.WriteLine(e1.info());
Console.WriteLine("sean should get tranferred to what department ");
newDepartment = Console.ReadLine();
e2.departmentChange(newDepartment);
Console.WriteLine(e2.info());
Console.WriteLine(e3.info());
private string department;
public Employee(string name, string department, int salary)
this.department = department;
public void Raise(int amount)
public void departmentChange(string newDepartment)
department = newDepartment;
info = (name + " works in " + department + " and their salary is $" + salary);