コード例 #1
0
        public static void ProcessInputDay(int dayValue)
        {
            switch (dayValue)
            {
            case 0:
                Day0.CallGreet();
                break;

            case 1:
                Day1.ReturnSumByType();
                break;

            case 2:
                Day2.InputValues();
                break;

            case 3:
                Day3.ConditionalStaments();
                break;

            case 4:
                Day4.PersonAge();
                break;

            case 5:
                Day5.MultiplicationTable();
                break;

            case 6:
                Day6.Review();
                break;

            case 7:
                Day7.ArrayNumber();
                break;

            case 8:
                Day8.PhoneDirectory();
                break;

            case 9:
                Day9.FactorialNumber();
                break;

            case 10:
                Day10.ConvertNumber();
                break;

            case 11:
                Day11.HourGlass2DArray();
                break;

            case 12:
                Day12.InharenceExercise();
                break;

            case 13:
                Day13.AbstractClassExercise();
                break;

            case 14:
                Day14.AbsoluteNumber();
                break;

            case 15:
                Day15.LinkedList();
                break;

            case 16:
                Day16.ExceptionStringToInt();
                break;

            case 17:
                Day17.NonNegativesNumbers();
                break;

            case 18:
                Day18.Palindrome();
                break;

            case 19:
                Day19.InterfaceExcersise();
                break;

            case 20:
                Day20.SortingValue();
                break;

            case 21:
                Day21.GenericPrint();
                break;

            case 22:
                Day22.NodeRoot();
                break;

            case 23:
                Day23.Search();
                break;

            case 24:
                Day24.LinkedList();
                break;

            case 25:
                Day25.PrimeOrNot();
                break;

            case 26:
                Day26.Nested();
                break;

            case 28:
                Day_28.RegexTester();
                break;

            case 29:
                Day29.BitwiseAND();
                break;

            default:
                Console.WriteLine("Coming soon...");
                break;
            }
        }