If concatenation of elements is divisible by 3
if ( Int32 . Parse ( ( arr [ i ] ) . ToString ( ) + ( arr [ j ] ) . ToString ( ) ) % 3 == 0 || Int32 . Parse ( ( arr [ j ] ) . ToString ( ) + ( arr [ i ] ) . ToString ( ) ) % 3 == 0 ) {