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)}"); }
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)}"); }