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

Pushpendra Singh

Total Post:241

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

    Post:241

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

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

  1. Amit Singh

    Post:565

    Points:2825
    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!