예제 #1
0
        static void Main(string[] args)
        {
            char key;

            while (true)
            {
                printMenu();

                key = Console.ReadKey().KeyChar;

                Console.WriteLine();
                switch (key)
                {
                case 'b':
                    BasicConcepts.Run();
                    break;

                case 'o':
                    OopConcepts.Run();
                    break;

                case 'e':
                    ExceptionsHandling.Run();
                    break;

                case 'i':
                    Interfaces.Run();
                    break;

                case 'd':
                    DelegatesAndEvents.Run();
                    break;

                case 't':
                    OopExtention.Run();
                    break;
                }
            }
        }
예제 #2
0
        static void Main(string[] args)
        {
            char key;

            while (true)
            {
                printMenu();

                key = Console.ReadKey().KeyChar;

                Console.WriteLine();
                switch (key)
                {
                case 'b':
                    BasicConcepts.Run();
                    break;

                case 'o':
                    OopConcepts.Run();
                    break;

                case 'e':
                    ExceptionsHandling.Run();
                    break;

                case 'i':
                    Interfaces.Run();
                    break;

                case 'd':
                    DelegatesAndEvents.Run();
                    break;

                case 'n':
                    OopExtention.Run();
                    break;

                case 'c':
                    Collections.Run();
                    break;

                case 'f':
                    FileAndStream.Run();
                    break;

                case 'z':
                    Serialization.Run();
                    break;

                case 's':
                    Strings.Run();
                    break;

                case 'm':
                    Memory.Run();
                    break;

                case 'y':
                    DynamicObjects.Run();
                    break;

                case 't':
                    Multithreading.Run();
                    break;

                case 'k':
                    Tasks.Run();
                    break;

                case 'p':
                    ParallelProgramming.Run();
                    break;

                case 'a':
                    AsyncProgramming.Run();
                    break;

                case 'r':
                    ReflectionWork.Run();
                    break;

                case 'l':
                    Linq.Run();
                    break;

                case 'x':
                    XmlWork.Run();
                    break;

                case 'q':
                    ParallelLinq.Run();
                    break;

                case 'w':
                    ProcessesAndDomains.Run();
                    break;

                case 'j':
                    DotNet.Run();
                    break;

                case 'v':
                    Validation.Run();
                    break;
                }
            }
        }