//the or operator in c sharp is "||" (key to the left of 1 btw ;)) if(a = 0 || b = 0) { //a or b is 0 }