Print Fibonacci Series: Console.WriteLine("Print Fibonacci series"); int a = 0, b = 1, sum = 0, n = 10; for (int i = 1; i <= n; i++) { sum = a + b; a = b; b = sum; Console.WriteLine(a.ToString()); } Output: