Fibonacci Series
using System;
class Program
{
static void Main()
{
int boyut;
Console.Write("The number of serial:");
int.TryParse(Console.ReadLine(), out boyut);
int[] dizi = new int[boyut];
dizi[0] = 1;
dizi[1] = 1;
for (int i = 2; i < boyut; i++)
dizi[i] = dizi[i - 1] + dizi[i - 2];
for (int i = 0; i < boyut; i++)
Console.Write(dizi[i] + " - ");
Console.ReadLine();
}
}