Select from following answers:- Array.Descending()
- Array.SortDescending()
- Array.Reverse()

- Array.SortInverse()
- All Above
Array.Reverse() is the method should be called to return the array elements in the descending order.
But at first we have to call Array.Sort() and then Array.Reverse() to get the elements in descending order.
Without doing Array.Sort(), we return get the array elements in the descending order.
Show Correct Answer
Asked In: Spotted While Learning |
Alert Moderator