using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
int[] numbers={5,10,0};
Array.Sort(numbers);
Array.Reverse(numbers);
foreach (var item in numbers)
{
Console.WriteLine("{0}", item);
}
Console.ReadKey();
}
}
}
说明:运行结果为10 5 0