Expressions and Operators
C# operator :-Modern programming languages have a set C# operator which is one of the common elements of a programming language. C# offers mathematical operators, assignment operators, and comparison operators. There are different kinds of operators in C# and you might not be familiar to some of them. Basic operators are what we use for mathematical calculations such as addition and subtraction. There are also more complex ones used for combining two comparison expressions.
There are three types of C# operator:
- Unary – requires a single operand
- Binary – requires at least two operands
- Ternary – requires three operands
The different kinds of operators in C# that this section will discuss includes the following:
- Mathematical Operators
- Assignment Operators
- Comparison Operators
- Logical Operators
- Bitwise and BitShift Operators
Subscribe
Login
0 Comments
Oldest