Friday, September 30, 2011
How to reverse a string
char [] myArray = txtName.Text.ToCharArray();
Array.Reverse( myArray );
string strReversed = new string( myArray );
lblName.Text = strReversed;
Array.Reverse( myArray );
string strReversed = new string( myArray );
lblName.Text = strReversed;