static void Main(string[] args) { Target target = new Adapter(); target.Request(); Console.ReadKey(); }
static void Main(string[] args) { Target target = new Adapter(); target.Request(); Console.Read(); }
static void Main(string[] args) { Target t = new Target(); t.Request(); t = new Adapter(); t.Request(); Console.ReadKey(); }
static void Main(string[] args) { Target target = new Adapter(); target.Request(); Player m = new Forwards("巴蒂尔"); //适配器 Player ym = new Translator("姚明"); Console.Read(); }