Driver code
public static void Main ( String [ ] args ) { char [ ] str = ( " abcasdsabcae " ) . ToCharArray ( ) ; if ( function ( str ) ) Console . WriteLine ( " Yes , ▁ both ▁ halves ▁ differ " + " ▁ by ▁ at ▁ least ▁ one ▁ character " ) ; else Console . WriteLine ( " No , ▁ both ▁ halves ▁ do " + " ▁ not ▁ differ ▁ at ▁ all " ) ; } }