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

Answer Posted / rahul

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

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long has c# been around?

741


Where’s global assembly cache located on the system?

751


What is class in oops with example in c#?

677


How we can create an array with non-default values?

719


Is constructor a static method?

726


What is the difference between structure and class in c#?

681


Is type nullable c#?

685


What is private in c#?

664


What does console mean c#?

684


What is datagrid c#?

658


In .NET which is the smallest unit of execution?

835


What is the implicit name of the parameter that gets passed into the set method/property of a class?

709


What is the difference between protected and private?

692


Can abstract class have constructor c#?

630


What is lastindexof c#?

652