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 difference between var and dynamic types in c# 4.0?
Explain the difference between Response.Write () and Response.Output.Write ().
What are the boolean data types in c#?
What is a method signature c#?
Explain about Oops concept
What are "class access modifiers" in C#?
How main method is called in c#?
What is use of singleton class in c#?
What is mean by c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What is the meaning of extention?
What is the purpose of dictionary in c#?
What is a delegate in c#?
How much time will it take to learn unity?
What is the difference between system.string and system.text.stringbuilder classes?