static void Main(string[] args) { var twoPinPlug = new TwoPinPlug(); var threePinSocket = new ThreePinSocket(); var adapter = new Adapter(threePinSocket); adapter.PlugIntoTwoPinSocket(); }
public Adapter(ThreePinSocket threePinSocket) { _threePinSocket = threePinSocket; }