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

If you define a user defined data type by using the class keyword, is it a value type or reference type?

513


Describe ways of cleaning up objects in c#.

516


Why to use lock statement in c#?

501


Why delegates are type safe?

494


Does c# replace c++?

634






What is an extension method in c#?

509


How do I edit a dll file?

464


What is wcf c#?

524


What are delegates and why are they required?

518


How do I convert a string to an int in c#?

528


Are arraylist faster or arrays?

501


Can you access a hidden base class method in the derived class?

510


What are the different types of classes?

484


What are the 3 different types of arrays?

573


Is an interface a type c#?

524