Driver code
public static void Main ( String [ ] args ) { String str = " ab " ; int n = str . Length ; if ( isDivBySix ( str , n ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; } }