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

Answer Posted / swapna

By calling Sort() and Reverse() methods we can sort the
elements in descending order.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of dll file in c#?

461


What is the use of getcommandlineargs() method in c#.net?

504


Can we use "this" command within a static method?

547


What is a console application in c#?

445


Can abstract class have private constructor c#?

501






What is .net c#?

475


What is c sharp language?

502


What is the main purpose of delegates in c#?

505


What is the difference between a class and an object c#?

470


Explain the use of virtual, sealed, override, and abstract method?

476


What is delegation in oops?

514


How do you remove white spaces from a string?

491


What is difference between override and new in c#?

505


What is the difference between field and property in c#?

470


What is a protected class in c#?

486