create sequence of squares in c#

44

create sequence of squares in c# -

IEnumerable<int> squares = Enumerable.Range(4, 3).Select(x => x * x);

Comments

Submit
0 Comments