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

Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

619


How does asp.net page work?

523


Explain managed code an un-managed code.

592


What is viewstate? In which event of the page life cycle, is the viewstate available?

603


Define resource files.

561






witch is the best insistute in sharpoint course.what abt future of share point course.

2532


What are the modes of updation in an updatepanel?

553


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

550


Explain how can we inherit a static variable?

522


What are the different types of sessions in asp.net? Name them?

674


Is there any alternative to avoid name collisions other then Namespaces?

571


what are the security certificates used in webservices?

1499


Describe the disadvantage of cookies.

594


How can we communicate with each server in N-tier Architecture? and what are the methods?

1787


Define a multilingual website?

530