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

Answer Posted / rambabu

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is generic in c#?

463


How do generics work in c#?

492


Is c# and .net same?

496


What is the difference between “dispose” and “finalize” variables in c#?

491


How does dll hell solve in .net?

485






What is a ienumerator?

501


What is xaml file in c#?

535


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

677


Explain the various types of classes used in c#?

509


What is a byte in c#?

555


What are the problem with .NET generics?

558


How do I link two windows forms in c#?

475


What is wrong with the sample program below?

537


Explain the serialization in .net

552


Explain about accessibility modifier 'protected internal'?

546