Exemple #1
0
        public static void Main(string[] args)
        {
            IAdapter client = new ConcreteAdapter();

            client.Operation();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var adapter = new ConcreteAdapter(new ConcreteAdaptee());

            adapter.Operation();
        }