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
What is the meaning of 0 in c#?
Can we inherit partial class in c#?
How to update the gui from another thread in c#?
what is IDisposal interface
What is a ienumerator?
User's session is explicitly killed by which method ?
Is dictionary a collection?
What is the difference between parse and tryparse in c#?
Explain the different types of delegates used in c#.
How to prevent the error while updating ui control from another thread?
What is the difference between var and dynamic types in c# 4.0?
What is the difference between hashtable and dictionary?
What are strong name assemblies?
Explain about WSDL
How do I simulate optional parameters to com calls?