Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
1 Answer
Relevance
- Anonymous1 decade agoFavorite Answer
sString.Sort();
Does that work for you?
=======================
Ok, to reverse the string contents try this function:
public string Reverse(string str)
{
int len = str.Length;
char[] arr = new char[len];
for (int i = 0; i < len; i++)
{
arr[i] = str[len - 1 - i];
}
return new string(arr);
}
C# doesn't appear to have it's own string reverse. Odd.
Still have questions? Get your answers by asking now.