Assignment Operators in C#

Assignment operators are used for assigning a value to a variable. In C# the assignment operator is the equal sign (=). It’s often used as a suffix in combination with an arithmetic operator to perform an operation on an existing variable (typically used as the left operand) and assign the result to itself. These operators are also known as compound assignment operators.

Keep reading

Comparison Operators in C#

Comparison operators are used to compare two operands and return a Boolean result (true or false). They can be used to control the flow of a program by determining if the execution of a conditional statement or loop should stop or continue based on the result of the comparison.

Keep reading

Bitwise Operators in C#

Bitwise operators perform calculations on binary numbers. If you don’t know what binary numbers are, they are a series of ones and zeros that represent numerical data. For example, the number 20 is represented as 00010100 in binary. All data in computers are represented by the binary numeral system.

Keep reading

Logical Operators in C#

Logical operators (also known as Boolean or conditional operators) usually compare two or more conditions and return a Boolean result (true or false). They must be used on boolean type operands or variables. They are widely used in C# programming and very useful when comparing more than one condition.

Keep reading

Arithmetic Operators in C#

Arithmetic operators are the most common operators used in programming. They perform mathematical operations on numerical values and return a numerical result. They are the same signs and operations that are used in math and everyday life.

Keep reading

Working with Operators in C#

Working with operators is an important part of learning how to program. Every programming language uses operators and you will need to use them in essentially every program you write. Therefore every programmer will have to learn how to use them. In this post I will write about the different types of operators in C# and describe what they are and what they do.

Keep reading

Working with Variables in C#

One of the first things most new programmers learn how to do is work with variables. In this post I will discuss the different types of variables in C# and describe what they are, why they are used, and how to use them.

Keep reading

Get Started Using C# Without Visual Studio

This will show you how to get started using the C# programming language without installing Visual Studio or any other IDE. Regardless of the language, most fundamentals behind programming can be practiced and learned using only a text editor and the command line.

Keep reading