using System;using System.Linq;class sqr{static void Main(){var a=Enumerable.Range(1,10);var b=from p in a select p*p;Console.WriteLine("the squares are");foreach(var z in b){Console.WriteLine(z);}}}
Login to post response