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

Can we override interface method?

518


Is there throws keyword in c#?

484


What is the namespace for datatable in c#?

491


Which of the following API is used to hide a window?

524


Can int be null in c#?

494






What is desktop application testing?

481


What are the different types of classes?

472


In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?

589


What is get set in c#?

554


What is a nullreferenceexception and how do I fix it?

531


Can I use exceptions in c#?

534


Explain how can you clean up objects holding resources from within the code?

468


What is the function of the not null constraint?

485


What is the use of delegates in c#?

471


Can the nested class access, the containing class. Give an example?

468