Example #1
0
        static void Main()
        {
            Abstraction abstraction = new MySmartTelevision();

            abstraction.Implementor = new CableTelevision();

            Console.WriteLine(abstraction.GetGuide());

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

            abstraction.Implementor = new CableTelevision();

            Console.WriteLine(abstraction.GetGuide());

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