char[] arr = myStr.ToCharArray(); 11.Array.Reverse(arr ); 12.return new string(arr );
C#
goto
public static string reverse(string s) { string r = string.Empty; int i= s.Length-1; L1: if (i<0) return r; r = r + s[i]; i--; goto L1; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)