Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / ratnesh

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

Is This Answer Correct ?    38 Yes 4 No

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

Answer / yasodha

in c#.net

using system;
namespace new;
public class sorting
{
string [] str= new string[25];
public string ssort(params string []str)
{
array.sort(str);
foreach(string i in str)
{
console.writeline("The sort string is:{0}",i);
}
}
public class mainsort
{
sorting st=new sorting();
st.ssort("viji","anu","priya","baskar");
console.readline();
}

Is This Answer Correct ?    9 Yes 0 No

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

Answer / shaukat

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

Is This Answer Correct ?    9 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

0 Answers  


What is dataset and uses of dataset ?

6 Answers   HCL, TCS,


what does membership class provide?

1 Answers  


Disable Session State at the Application Level

2 Answers  


Which method is used to enforce garbage collection in .net?

0 Answers  


What are the parts of an http response?

0 Answers  


Is there any limit for query string? Means what is the maximum size?

0 Answers  


To call a Web service which transport protocol you can use?

3 Answers   Siebel,


What is the difference between control and component?

4 Answers  


In asp.net, if a webpage seems too slow to load completely in th ebrowser. In this case what are the checkings or actions you will take to rectify the slowness or which are the factors related to this issue? How we can trace it?

3 Answers  


Explain the overview of asp.net?

0 Answers  


What is the difference between custom web user control and a custom web server control?

0 Answers  


Categories