public static string Reverse(this string str) { char[] arrChar = str.ToCharArray(); Array.Reverse(arrChar); return new string(arrChar); }