How To Use Arrays – C#

What Is An Array The best way to picture an array is to think of it as a series of boxes, all in a row. Each box holds a variable, but all of the same type. Below is an example: If we wanted to store an array of integers, or int’s, it might look like this: The…

What Are Logical Operators – C#

You might have seen if statements with some confusing symbols: &&, || or !. These are called the logical operators, and are used to create more complicated logic within an if statement. They are: && – the Logical AND operator || – the Locical OR operator ! – the Logical NOT operator Quick Examples But what do they do? I will give some quick examples. if…

Line Saving Code Tips – C#

Reducing lines of code can make your work more readable, making it easier for you and for others to read. More lines means more mental gymnastics to decipher which part of code does what. I want to go over some tips and tricks that helpd me.