-
Understanding String Variables in C#
A string is a series of characters. Think of it as a sentence or a word. For this example I used the classic two words “Hello World” Now the simplest way to do this is by printing the string directly to the console so the users can see it. To do this you need the…
-
Display Content Using Console.WriteLine() in C#
This is a quick tutorial on how to display content to the screen. To do this you are going to use Console.WriteLine() function as follows: – This is a very simple piece of code. Essentially you are telling the computer to write something so that the user can see it on the console. Whatever is…
-
Single Characters in C#: Leveraging the char Variable
A character (or char) is used as a single letter that is printed onto the console Character is classified as char in C# and is a variable used to store a single character. It is much smaller than a string and will bring up an error message if it is given more than 1 letter.…
-
Difference Between Console.Write() and Console.WriteLine() in C#
The main difference between the two is that Console.Write only prints the text or value that it has been given without the new line compared to Console.WriteLine() prints a new line after the text or value it was told to print. For example the Console.Write() code printing the sentence “This is the first line” could…
-
C# Basics: What is a Bool?
Bool A bool is a type that is either true or false. Another way of saying this there is a box(type) that we will assign either a true or false value. Here is an example: Another Example is: This code is now saying that we have a type that can be identified by the variable…
-
C# Basic: Comments – What Do They Do?
A comment within C# is an area where we can add text to explain what our code is doing. It allows us to better understand a piece of code quickly without having to read it all through and figure it out. Comments are ignored by the computer so you don’t have to worry about them…
-
C# Basics: What is an Int?
An int is a single whole number within C#. Think of computer memory as a series of boxes. Inside each box can store something with a given ‘type’. When using an ‘int’, we are telling the computer to store a whole number. Here is an example: By writing ‘int’ we have written that we want…
-
C# Basics: What is a Double?
A double is similar to the int except that a double allows for decimal places. As an example, if you wanted to display the number 10.666666666 or 10.4 you could use a double. If you wanted to display a number like 5000 or 4 you could use an int. Here is an example of how…
-
Effective Code Optimization: Practical Tips and Advice #1
Hey everyone! Here’s a quick post with a few tips and tricks. We’ll keep adding to this list and will push a new list each week Make sure to subscribe and follow our insta for more content and tips and tricks! Tips and Tricks –
-
Content Creation Guide: Expert Prompts for Compelling Blog and Video Content
This is a quick post that will build over time with ChatGBT commands and prompts that people may find helpful. Hashtag and SEO Optimisation for Instagram Enter the following prompt. “I am at Instagram SEO expert researching keywords hashtags and profile optimization for my client my client specialises in (insert Niche) and we’re aiming to…
