Function to check redundant brackets
static void findRedundant ( String str ) { bool ans = checkRedundancy ( str ) ; if ( ans == true ) { Console . WriteLine ( " Yes " ) ; } else { Console . WriteLine ( " No " ) ; } }