Operator Precedence in Visual Basic
Precedence Order Operators are evaluated in the following order of precedence: Arithmetic and Concatenation Operators Exponentiation (^) Unary identity and negation (+, –) Multiplication and floating-point division (*, /) Integer division (\) Modulus arithmetic (Mod) Addition and subtraction (+, –), string concatenation (+) String concatenation (&) Arithmetic bit shift (<<, >>) Comparison Operators All comparison operators (=, <>, <, <=, >, >=, Is, IsNot, Like, TypeOf...Is) Logical and Bitwise Operators Negation (Not) Conjunction (And, AndAlso) Inclusive disjunction (Or, OrElse) Exclusive disjunction (Xor) The = operator is only the equality comparison operator, not the assignment operator. The string concatenation operator (&) is not an arithmetic operator, but in precedence it is grouped with the arithmetic operators. The Is and IsNot operators are object reference comparison operators. They do not compare the values of two objects; they check only to determine if two object variables refer to the same object instance.
قمت باقتباس الموضوع كامل من موقع MSDN حتى تعم الفائدة..
وعندي استفسار بسيط:
لماذا إشارة ال + الخاصة بالنص لها أسبقية أعلى من ال & ؟
وما هي الفائدة البرمجية التي أستفيدها من هذا الفرق بين الإشارتين ؟
والسؤال الثاني : ما هو ال operator المقابل ل == ؟