Showing posts with label Recursion. Show all posts
Showing posts with label Recursion. Show all posts

Fibonacci Series Code in C#

Fibonacci series is a series of numbers where the next number is the sum of the previous two numbers behind it. It has the starting two numbers predefined as 0 & 1. The series goes on like this:
0,1,1,2,3,5,8,13,21,34,55,89,144,233,377……..

Here we illustrate two techniques for the creation of the Fibonacci Series to n terms. The For Loop method & the Recursive Technique. Check them below.