squares of consecutive numbers c sharp code example
Example: create sequence of squares in c#
IEnumerable<int> squares = Enumerable.Range(4, 3).Select(x => x * x);
IEnumerable<int> squares = Enumerable.Range(4, 3).Select(x => x * x);