C# – Unary operators – Unary plus, minus and logical negation operators
C# unary operators takes single operand as input and produce the value. These operands are constants, expressions or variables. Please note that, do not confuse with Arithmetic plus (+) and minus (-) operators. Arithmetic operators takes more than one operand as an input; whereas, unary operators takes only one operand as an input. Through this […]