Ejemplo n.º 1
0
        static void ShowFibonacci()
        {
            var fib = new Fibonacci();

            Console.WriteLine(string.Join(',', fib.Solve().Take(20)));
            Console.WriteLine($"The 20th value in fibonacci is {fib.ElementAtIndex(19)}");
        }