Exemple #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("First task:");
            FibonacciSequence fibonacciSequence = new FibonacciSequence();

            fibonacciSequence.FibonacciCounter(10);
            fibonacciSequence.FibonacciCounterLINQ(11);
            fibonacciSequence.FibonacciAggr(11);

            Console.WriteLine("Second task:");
            Factorial factorialResult = new Factorial();

            factorialResult.FactorialCounter(7);

            Console.WriteLine("Third task:");
            TeaManager teaManager = new TeaManager();

            teaManager.GroupingTeaItem(teaManager.GetListTea());

            Console.WriteLine("Forth task:");
            ArrayManager arrayManager = new ArrayManager();

            arrayManager.SplittArray_v1();
            arrayManager.SplittArray_v2();

            Console.ReadKey();
        }