How can you sort the elements of the array in descending order?
Answer Posted / rahul
By calling Sort() and then Reverse() methods.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Can struct have constructor c#?
What is Event - Delegate?
Is it possible to have different access modifiers on the get/set methods of a property?
What is dependency injection in simple words?
What is the difference between interface and abstract class in c#?
How to declares a two-dimensional array in C#?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
Can extension methods access private members?
What is msil, and why should developers need an appreciation of it if at all?
What is lazy in c#?
What exactly happens when we debug and build the program?
Why do we need indexers in c#?
If a child class instance is created, which class constructor is called first - base class or child class?
What is the use of ienumerable?
What is inheritance in csharp?