I have this code, and I can't see why I cannot use the operator || in this example.
"Operator '||' cannot be applied to operands of type 'bool' and 'int'"
Am I missing something? where is this boolean?
int i = 1;
if ( i == 1)
{
Response.Write("-3");
}
else if (i == 5 || 3) //this is the error, but where is the bool?
{
Response.Write("-2");
}