Esempio n. 1
0
        static void Main()
        {
            Abstraction abstraction = new MySmartTelevision();

            abstraction.Implementor = new CableTelevision();

            Console.WriteLine(abstraction.GetGuide());

            Console.WriteLine(abstraction.PlayVideo());
        }
Esempio n. 2
0
        static void Main()
        {
            Abstraction abstraction = new MySmartTelevision();

            abstraction.Implementor = new CableTelevision();

            Console.WriteLine(abstraction.GetGuide());

            Console.WriteLine(abstraction.PlayVideo());
        }