string s = "Test";s = s.Reverse(); // liefert "tseT"
1 2 3 4 5 6 7 8 9 10 11 12
namespace gfoidl.Tools { public static class StringExtension { public static string Reverse(this string s) { char[] c = s.ToCharArray(); Array.Reverse(c); return new string(c); } } }