CSharp - Write program to display numbers going down from 10 to 1

Requirements

You will display numbers going down from 10 to 1.

Hint

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.

Demo

using System;
class Program/*from   w w  w  . ja va2s .c  om*/
{
    static void Main(string[] args)
    {
        // Output 
        for (int number = 10; number >= 1; number--)
        {
            Console.WriteLine(number);
        }
    }
}

Result