Check out example codes for "create sequence of squares in c#". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com