public override void Send(string msg, Colleague colleague) { if (Student == colleague) { Deanery.Notify(msg); } else if (Deanery == colleague) { Professor.Notify(msg); } else if (Professor == colleague) { Student.Notify(msg); } }
public abstract void Send(string msg, Colleague colleague);