Wanted to generate Fibonacci series using Linq with simple c# features. I  have given the coding below.
 
- int Range = 10;   
 - uint ord1 = 0, ord2 = 0, ord3 = 0;   
 - IEnumerable<uint> FibSeries = Enumerable.Range(1, Range).Select(a =>   
 - {   
 -    ord1 = a == 1 ? 0 : ord2;   
 -    ord2 = a == 1 ? 1 : ord3;   
 -    ord3 = a == 1 ? 0 : ord1 + ord2;   
 -    return ord3;   
 - });   
 
 The definition for Fibonacci series is numbers in which each number ( Fibonacci  number ) is the sum of the two preceding numbers. To achieve this, three  unassigned integer variables are declared and initialized to 0. The first two  variables hold the two preceding numbers (which is 0, 1 during initial stage),  and the last will hold the sum of the two variables. Once the value for the  third variable is calculated, the first two variables are re-assigned to hold  the latest two preceding values and the loop is iterated.
 I am pretty sure there should be better ways to generated fibonacci series using  Linq.