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
"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
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
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 =
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
The C ++ operator is explained in detail in conjunction with the instance.C ++ operators combined with Instances
An operator is a symbol that tells the compiler to execute a specific mathematical or logical operation. C ++ has built-in rich
bit arithmeticThe operation component of a bitwise operation can only be integer or character data, and the bitwise operation considers the operand as a bit string information composed of binary bits, and completes the specified operation by bit,
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.