Aries.Util.Reverse C# (CSharp) Method

Reverse() public static method

Reverse a string
public static Reverse ( string x ) : string
x string String to reverse
return string
        public static string Reverse(string x)
        {
            char[] charArray = new char[x.Length];
            int len = x.Length - 1;
            for (int i = 0; i <= len; i++)
                charArray[i] = x[len - i];
            return new string(charArray);
        }