Basically, what I want to do is check two integers against a given value, therefore, classically what you would do is something like this:
//just to get some
For this example, you can do
if (a * b == 0)
or for more variables
if (a * b * c * d == 0)
while more concise it may not be as clear. For larger values, you need to cast to a long to avoid an overflow.
long