摘要:
class Program { static void Main(string[] args) { ConcreteMediator m = new ConcreteMediator(); ConcreteColleagueA cA = new ConcreteColleagueA(m); ConcreteColleagueB cB = new ConcreteColleagueB(m); m.ColleagueA = cA; m.ColleagueB = cB; cA.Send("how are jim"); cB.Send("I'm fine,than 阅读全文