cs_introduction_expressions.md - brainchildservices/curriculum GitHub Wiki
- Csharp expressions
SLIDE-1
- Expressions are constructed from operands and operators.
- The operators of an expression indicate which operations to apply to the operands.
- Examples of operators include +, -, *, /, and new.
- Examples of operands include literals, fields, local variables, and expressions.
SLIDE-2
- An expression containing multiple operators
- the precedence of the operators controls the order in which the individual operators are evaluated
- For example, the expression x + y * z is evaluated as x + (y * z) because the * operator has
higher precedence than the + operator.
- C# provides a number of operators to perform arithmetic, logical, bitwise and shift operations and equality and order comparisons.
REF link-