I. Operator priority
Operator category
Operator
Basic
X. y F (x) A [x] X ++ X -- New
Typeof Checked Unchecked ->
RMB 1
+ - ! ~ ++ X -- X (T) x True False & Sizeof
Multiplication
* / %
Addition
+ -
Shift
< >
Link and type detection
< > <= > = Is As
Equal
= ! =
Logic "and"
&
Logic "exclusive or"
^
Logic "or"
|
Condition "and"
&&
Condition "or"
|
Conditional operation
? :
Assignment
= + = -= * = /= % = & = | =
^ = <= >>= ??
Lambda
=>
1. Access qualifier
The "declared Accessability" of a member can be one of the following:
- Public, the method to select it is included in the member declaration
public
Modifier.public
The intuitive meaning is "unlimited access ".
- Protected. The method to select it is to include
protected
Modifier.protected
The intuitive meaning is "access scope is limited to the class it belongs to or the type derived from this class ".
- Internal, the method to select it is included in the member declaration
internal
Modifier.internal