Пример #1
0
        static void Main()
        {
            Abstraction abstraction = new MySmartTelevision();

            abstraction.Implementor = new CableTelevision();

            Console.WriteLine(abstraction.GetGuide());

            Console.WriteLine(abstraction.PlayVideo());
        }
Пример #2
0
        static void Main()
        {
            Abstraction abstraction = new MySmartTelevision();

            abstraction.Implementor = new CableTelevision();

            Console.WriteLine(abstraction.GetGuide());

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