How can u sort strings in array where strings are passed to
method as arguments.

Answer Posted / ratnesh

String[] s={"hdf","sdfer","fdf","astrf"};
Array arr = new Array(s);
arr.Sort();

Is This Answer Correct ?    38 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages and disadvantages of Using Cookies?

699


What is a server farm in iis?

729


What is the use of data set in asp.net?

674


How can you send an email message from an asp.net web page?

696


To load your generated dataset with data which method do you invoke?

824


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

715


How to set the pane area to transparent of a scrollPane component.?

756


How does http session work?

724


How do you declare static variable? What is its lifetime?

707


What are the properties of the eventargs argument when capturing keyboard events?

806


What is custom events? How to create it?

817


How asp.net mvc differs from asp.net web forms? : asp.net mvc

760


What is owin authentication?

703


How does session id work?

667


What describes a query?

715