Exemplo n.º 1
0
        private static void Main(string[] args)
        {
            Console.WriteLine("Adapter design pattern....");

            // Create adapter and place a request
            Target target = new Adapter(); // You can also create a adaptee object and pass it in the constructor of the Adapter object
            target.Request();

            Console.ReadLine();
        }