When using OR with an if statement does the computer check both statements if the first statement returns true?
bool a = true;
bool b = LongComplicatedMethod();
if (a || b)
{
Console.WriteLine("Hello");
}
So say the boolean b has its value determined by a long complicated algorithmic method, would the method for b be called if a was true?