CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Operators

PowerShell – Containment operators

PowerShell containment operators are used to verify whether the given value is available in the given input values. These operators always return the boolean value; True or False. Below are the containment operators PowerShell provides, and these take 2 or more operands; left-side operands hold the input value and the right-side operand is for the […]

PowerShell – Type operators

PowerShell Type operators are used to verify the type of the operand. Are you aware, each value we use in PowerShell has particular Type? These are the types similar to the types defined in .Net. Yes, because PowerShell is developed using .Net Framework. These operators are allowed to verify the type of the operand. Through […]

PowerShell – How to use Equality operators?

PowerShell equality operators are used to compare values. These operators compare the values and return either True or False; when the given condition matches. PowerShell provides below equality operators; as these are used for comparison, we can call them Comparison operators. PowerShell Equality operators All these equality operators takes 2 or more operands and compare […]

PowerShell – Unary operators

Unary operators work on a single operand. PowerShell provides unary operators and through this article, we are going to discuss them. The ++ operator – Post & pre-increment operator The unary operator ‘++’ will increment the value of the operand by 1. It has two forms, post & pre-increment forms. When the unary operator ‘++’ […]

PowerShell – Arithemetic Operators

PowerShell provides different types of operators and through this article, we are going to discuss about Arithmetic Operators. Arithmetic Operators are used to compute numerical values. Before stating this article, would like to emphasis on one thing; that is, PowerShell is built on .Net Core; internally it uses .Net Core classes. We need to understand […]

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 […]

Scroll to top