using System;
using System.Linq;
class program {
static void Main(string[] args) {
// IEnumerable<int> Range (int start, int count);
var squares = Enumerable.Range(1, 10).Select(x => x * x);
foreach (int n in squares) {
Console.WriteLine(n);
}
}
}
/*
run:
1
4
9
16
25
36
49
64
81
100
*/