c# reverse string

C#
public static void Main(string[] args)
        {
            string s = "aeiouXYZ";
           Console.Write(Reverse(s) );
        }

        public static string Reverse(string s)
        {
            var result = new string(s.ToCharArray().Reverse().ToArray() );
            return result;
        }public static string ReverseString(string s)
    {
        char[] arr = s.ToCharArray();
        Array.Reverse(arr);
        return new string(arr);
    }public void ReverseString(char[] s) {
        
        for(int i = 0; i < s.Length / 2; i++) {
    	    
            char temp = s[i];
    	    s[i] = s[s.Length - 1 - i];
    	    s[s.Length - 1 - i] = temp;
     
     }
}
Source

Also in C#: