C # program for tha above approach
using System ; class GFG { static string ReverseString ( string s ) { char [ ] array = s . ToCharArray ( ) ; Array . Reverse ( array ) ; return new string ( array ) ; }