示例#1
0
        static void Main(string[] args)
        {
            SwitchLib.FunctionDelegate function1, function2, function3;
            function1 = Library;
            function3 = Task3; //!!! <- delete comment after corecting
            SwitchLib f = new SwitchLib();

            f.Switch(function1, function2, function3);
            Console.ReadKey();

            Horoscope.Horo one = new Horoscope.Horo();
            one.zodiac_sign();
        }
示例#2
0
        private static void Main()
        {
            var menu = new SwitchLib();

            menu.Switch(EnumerateRainbow, LazyGayInitialization, ThreadCompetition);
        }
示例#3
0
        static void Main(string[] args)
        {
            var menu = new SwitchLib();

            menu.Switch(HitlerTime);
        }