static void Main(string[] args) { TwoPinPlug plug = new TwoPinPlug(); ThreePinPlug adapter = new Adapter(plug); adapter.Plug(); Console.ReadLine(); }