CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS MICROSOFT C# DETAILS
Question :
How can you sort the elements of the array in descending order


Category C# Interview Questions
Rating (0.0) By 0 users
Added on 7/28/2006
Views 611
Rate it!
Answers:

int[] arr = new int[3];
arr[0] = 4;
arr[1] = 1;
arr[2] = 5;

Array.Sort(arr);
Array.Reverse(arr);





If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is the order of destructors called in a polymorphism hierarchy

View Answer
What is the use of fixed statement

View Answer
Can static methods be overridable?

View Answer
In C# a technique used to stream the data is known as




View Answer
How to implement multiple inheritence in C#

View Answer
In the following cases which is not function overloading

View Answer
What is an indexer in C#

View Answer
The C# keyword int maps to which .NET type

View Answer
Windows services created by C# app run only

View Answer
Net Remoting doesn?t allow creating stateless & stateful Remote objects

View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL C# Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/8951/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.73