using System; using System.ComponentModel; using System.Linq; class MainClass { static void Main() { var collection = Enumerable.Range(0, 10).Reverse(); foreach (var element in collection) { Console.WriteLine(element); } } }