예제 #1
0
    static void Main()
    {
        ITarget tClass = new ClassAdapter();

        tClass.Implement();

        Console.WriteLine("**************************");

        ITarget tObj = new ObjectAdapter(new Adaptee());

        tObj.Implement();
    }