# C# Fibonacci Series Tutorial with Examples

## C# Fibonacci Series Tutorial with Examples

Today, We want to share with you C# Fibonacci Series Tutorial with Examples.
In this post we will show you Fibonacci Series in C#, hear for C# Fibonacci Sequence we will give you demo and example for implement.
In this post, we will learn about C# Program to Generate Fibonacci Series with an example.

My Infinity Knowledgeable Ideas, Tips and Tricks, Useful Content, Jobs, Technology, Earn Money, gmail creation, skype, yahoo and more useful things.

### Fibonacci Series in C#

In this post,we will learn about Fibonacci Series in C# with an example.

Now in this post, I will explain Fibonacci Series in C# with appropriate example. Fibonacci Series contain a series of the number which is sum of previous two numbers. The first two numbers of Fibonacci series are 0 and 1.

Now create Console Application in Visual Studio and write below lines of code in it.

[php]
using System;
using System.Collections;
using System.Collections.Generic;

namespace Infinityknow
{
class Program
{
static void Main(string[] args)
{
//Fibonacci Series Example Program

int num1 = 0, num2 = 1, num3, i, number;
Console.Write(“Enter the Number of Elements: “);

Console.Write(num1 + ” ” + num2 + ” “);

for (i = 2; i < number; ++i)
{
num3 = num1 + num2;
Console.Write(num3 + ” “);
num1 = num2;
num2 = num3;
}
Console.ReadKey(); // To hold the screen
}
}
}
[/php]

READ :  C# reverse number Program Tutorial with Examples