static void Main(string[] args) { StrategyPattern strategy = new StrategyPattern(); Console.WriteLine(); ObserverPattern observer = new ObserverPattern(); Console.WriteLine(); DecoratorPattern decotrator = new DecoratorPattern(); Console.WriteLine(); Console.ReadKey(); }
public static void DecoratorDemo() { var dp = new DecoratorPattern(); dp.DecoratorDemo(); }