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
What is a bool in c#?
What are the different approaches of passing parameters to a method?
What is predicate c#?
What is object array in c#?
What is a event in c#?
What is uint64_t?
What is a static class in c#?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?
Are string objects mutable or immutable?
Why main is static in c#?
Why do we need indexers in c#?
You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?
In which way a two-dimensional array declared in C#?
What is data binding c#?