Formycareer

积极生活每一天!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年4月8日

摘要: 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 阅读全文
posted @ 2011-04-08 14:22 mycareer 阅读(201) 评论(0) 推荐(0) 编辑