Driver code
public static int Main ( ) { string S = " permanent " ; string T = " pergament " ; int n = S . Length ; if ( S == " " T == " " ) Console . WriteLine ( " Required ▁ string ▁ is ▁ empty . " ) ; else Swap ( S , T , n ) ; return 0 ; } }