An expression is a combination of operators and operands that can be used to compute a value. Expressions are used to provide specific information. An expression generally consists of one or more operators and at least one operand. C# supports the following expressions:
An operator is a symbol that signifies an action. An operand refers to the objects that are being manipulated. For instance, in the expression 2-a, 2 and a are the operands and – is the operator.
Operators can be organized into four categories: primary, unary, binary, and ternary operators. Before each category is examined, it ...