1/9
Looks like no tags are added yet.
Name  | Mastery  | Learn  | Test  | Matching  | Spaced  | 
|---|
No study sessions yet.
OPERATORS
e used for building expressions in C#. Expressions perform operations on variables or values.
ASSIGNMENT OPERATOR
assigns the result of an expression to a variable.
UNARY OPERATORS
Used for incrementing or decrementing a variable’s value by 1. Commonly used in loops
COMPARISON OPERATORS
Used to compare two operands.
Returns: true or false based on the condition.
LOGICAL OPERATORS
Evaluate expressions and return true or false. They allow programs to make decisions dynamically.
AND OPERATOR
Returns true if both conditions are true.
Returns false if any condition is false.
OR OPERATOR
Returns true if at least one condition is true.
Returns false only if all conditions are false.
NOT OPERATOR
Returns true if the expression is false, and vice ve
XOR OPERATOR
Returns true only if one of the expressions is true.
Returns false if both expressions are true or both are false.
INCREMENT AND DECREMENT OPERATORS
WHAT ARE THE TWO TYPES OF UNARY OPERATORS