&& The conditional-AND operator (&&) performs a logical-AND of its bool operands, but only evaluates its second operand if necessary & The & operator evaluates both operators regardless of the first one's value. For example: http://msdn.microsoft.com/en-us/library/sbf85k1c.aspx int i = 0; if (false & ++i == 1) { // i is incremented, but the conditional // expression evaluates to false, so // this block does not execute. }Same applies to || and |
and (same as & in C#) http://msdn.microsoft.com/en-us/library/sdbcfyzh.aspx andalso (same as && in C#) http://msdn.microsoft.com/en-us/library/cb8x3kfz.aspx Note In a Boolean comparison, the And operator always evaluates both expressions, which could include making procedure calls. The AndAlso Operator (Visual Basic) performs short-circuiting, which means that if expression1 is False, then expression2 is not evaluated._____________