Пример #1
0
        static void Main(string[] args)
        {
            ITarget objectA = new NormalTarget();

            objectA.ProcessRequest();
            //Adapter class is used to convert the old method to new specification
            ITarget objectB = new Adapter();

            objectB.ProcessRequest();

            Console.Read();
        }