01.
14.13 Assignment operatorsThe assignment operators assign a new value to a variable, a property, event, or an indexer element.assignment:unary-expression assignment-operator expressionassignment-operator: one of= += -= *= /= %...查看完整版>>
14.13 Assignment operators
02.
14.10 Logical operatorsThe &, ^, and | operators are called the logical operators.and-expression:equality-expressionand-expression & equality-expressionexclusive-or-expression:and-expressionexclusive-or-expression ^...查看完整版>>
14.10 Logical operators
03.
14.11 Conditional logical operatorsThe && and || operators are called the conditional logical operators. They are also called the "shortcircuiting" logical operators.conditional-and-expression:inclusive-or-expressionc...查看完整版>>
14.11 Conditional logical operators
04.
14.9.8 Delegate equality operatorsEvery delegate type implicitly provides the following predefined comparison operators: :bool operator ==(System.Delegate x, System.Delegate y);bool operator !=(System.Delegate x, System.Delegate y);Tw...查看完整版>>
14.9.8 Delegate equality operators
05.
14.9.6 Reference type equality operatorsThe predefined reference type equality operators are:bool operator ==(object x, object y);bool operator !=(object x, object y);The operators return the result of comparing the two references for equal...查看完整版>>
14.9.6 Reference type equality operators
06.
14.9.2 Floating-point comparison operatorsThe predefined floating-point comparison operators are:bool operator ==(float x, float y);bool operator ==(double x, double y);bool operator !=(float x, float y);bool operator !=(double x, double y);b...查看完整版>>
14.9.2 Floating-point comparison operators
07.
14.9 Relational & type-testing operatorsThe ==, !=, <, >, <=, >=, is and as operators are called the relational and type-testing operators.relational-expression:shift-expressionrelational-expression < shift-expressionrelation...查看完整版>>
14.9 Relational & type-testing operators
08.
14.9.1 Integer comparison operatorsThe predefined integer comparison operators are:bool operator ==(int x, int y);bool operator ==(uint x, uint y);bool operator ==(long x, long y);bool operator ==(ulong x, ulong y);bool operator !=(int...查看完整版>>
14.9.1 Integer comparison operators
09.
14.8 Shift operatorsThe << and >> operators are used to perform bit shifting operations.shift-expression:additive-expressionshift-expression << additive-expressionshift-expression >> additive-expr...查看完整版>>
14.8 Shift operators
10.
14.6.5 Prefix in- and decrement operatorspre-increment-expression:++ unary-expressionpre-decrement-expression:-- unary-expressionThe operand of a prefix increment or decrement operation must be an expression classified as a variable, aproper...查看完整版>>
14.6.5 Prefix in- and decrement operators
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。