how to sort the string in string array collection and display as output

Raj_Chennai
Posted by Raj_Chennai under C# category on | Points: 40 | Views : 1599
private void button2_Click(object sender, EventArgs e)
{
string[] testData= {"a","c","b" };

Array.Sort(testData);
foreach (string s in testData)
{
MessageBox.Show(s);
}
}

Comments or Responses

Login to post response