C# multi conditional code example
Example: multiple if statements c#
//the same rules that are in math, applies also in programming -
//the computer checks the statements surrounded with parentheses first
//just like you do calculations with parentheses first :)
if((a == 0 || b == 0) && (x == 0 || y == 0))
{
//if one of a or b equals 0 AND one of x or y equals 0 then this runs
}