Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 answers
573 users
using System; using System.Linq; class Program { static void Main() { var result = Enumerable.Range(1, 10).Select(e => Math.Pow(e, 3)); Console.WriteLine(string.Join(", ", result)); } } /* run: 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000 */