HOW CAN YOU SORT THE ELEMENTS OF THE ARRAY IN DESCENDING ORDER?

Pushpendra Singh

Total Post:240

Points:1200
Posted by  Pushpendra Singh
C# 
C#
 1261  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:240

    Points:1200
    How can you sort the elements of the array in descending order?

    By calling Sort() and then Reverse() methods.

  1. Amit Singh

    Post:562

    Points:2810
    How can you sort the elements of the array in descending order?

    We can use sorting methods like bubble sort, heap sort radix sort etc this is the another method to sort the array.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!