Hello,

I want to make a code to sort the numbers in array from the biggest to the smallest. How can I do it?

static void Main(string[] args)
        {
            int[] Array = { 108, 112, 87, 71, 49, 105, 49, 78, 63, 42 };
            int length = Array.Length;
        }

Any help would be most welcome.

Regards,
trume

Recommended Answers

All 3 Replies

Very useful stuff

Thx!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.