You will display numbers going down from 10 to 1.
The loop's initializer is ten.
You just subtract 1 at the end of each turn.
The correct test is whether the number variable is greater than or equal to 1.
using System; class Program// w w w . ja v a 2 s . c o m { static void Main(string[] args) { // Output for (int number = 10; number >= 1; number--) { Console.WriteLine(number); } } }