Squares 1..10.
Ready — edit the code above and click Run.
using System;
class Program
{
static void Main()
{
using System.Linq;
Console.WriteLine(string.Join(", ", Enumerable.Range(1, 10).Select(x => x * x)));
}
}
Try solving on your own first, then reveal the official answer.
Select projection.