Reverse string without using any temporary variable | Reversing a string using reverse ( ) ; Reverse str [ beign . . end ]
using System ; using System . Linq ; class GFG { public static void Main ( String [ ] args ) { String str = " geeksforgeeks " ; str = new string ( str . Reverse ( ) . ToArray ( ) ) ; Console . WriteLine ( str ) ; } }