
Untitled
By: a guest on
Aug 1st, 2012 | syntax:
C# | size: 0.28 KB | hits: 13 | expires: Never
string[] lines = textBox1.Text.Replace("\r", "").Split(new char[] {'\n'});
for (int i = 0; i < lines.Count(); ++i)
{
char[] symbols = lines[i].ToCharArray();
Array.Reverse(symbols);
lines[i] = new string(symbols);
}
textBox1.Text = string.Concat(lines);