Transferred from: http://blog.sina.com.cn/s/blog_74a459380101d6xl.htmlThe XOR operator, ∧, is also called. The rule is that if the two binary numbers of the operation are the same, the result is 0 (false); The XOR is 1 (true). That is 0∧0=0,0∧1=1,1∧1
The following is a detailed summary of the description and function of various operational symbols in C #first, []square brackets ([]) are used for arrays, indexers, and properties, and also for pointers.1, the array type is a type followed by
Bitwise AND Operator:&
Grammar
Expression
&
expression
NoteAn expression can be another "and" expression, or (follow the type restrictions described below) equality expressions, relational expressions, addition expressions,
"operator"at the time of the operation, if the closing parenthesis we know what to do first, then if there is no parentheses, arithmetic operators, relational operators, logical operators, bitwise operators, assignment operators, + + 、--operators,
C # Operators
An operator is a symbol that tells the compiler to perform a specific mathematical or logical operation. C # has a rich set of built-in operators, categorized as follows:
Arithmetic operators
Relational operators
logical
C # operator and, Or, XOR and shift operations
1. Analyze the exclusive or operation (^)
Binary ^ operators are predefined for integer and bool types. For an integer, ^ returns the bitwise XOR of the calculated operand ". For the bool operand, the
Php array operators$ A + $ B join $ a and $ B.$ A = $ B is equal. If $ a and $ B have the same key/value pair, the value is TRUE.$ A ===$ B. TRUE if $ a and $ B have the same key/value pairs and the order and type are the same.$! = $ B: TRUE if $ a
For more information about array operators (+), string operators (.), AND logical operators (& AND | or xor), see.
Php array Operators
$ A + $ B join $ a and $ B.$ A = $ B is equal. If $ a and $ B have the same key/value pair, the value is TRUE.$ A =
due to contact with the lower level of data processing to the following use of finishing (reference network)bit arithmeticThe Operation component of a bitwise operation can only be integer or character data, and the bitwise operation considers the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.