Пример #1
0
        static void Main(string[] args)
        {
            int age = 10;

            var demoHelper = new DemoHelper();

            demoHelper
            .ShowDemoOf(new ExtensionMethodsDemo(), ConsoleColor.Blue)
            .ShowDemoOf(new PatternMatchingDemo(), ConsoleColor.Yellow);

            WriteLine("\n\nPress any key ...");
            ReadLine();
        }