How can you sort the elements of the array in descending order?
Answer Posted / neoupadhyay
int[] arr = new int[3];
arr(0) = 3;
arr(1) = 5;
arr(2) = 1;
Array.Sort();
Array.Reverse();
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
How many static constructors are allowed in a class?
What are the return types in c#?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
Give an example of removing an element from the queue?
What are extender provider components? Explain how to use an extender provider in the project.
Should I make my destructor virtual?
Why would you use a class property in c#?
How more than one version of an assembly can keep in same place?
What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default
Explain dataset.acceptchanges method in .net?
What can I create with c#?
Any problem found in vs.et
Explain how obfuscator works in .net
How do I open the console window?
What is concatenation and when should it be used?