It's what I promised!!
Ok, so today I'm going to introduce the theoretical stuff of C# (btw this Will be useful later).
What is a variable anyway?
Well, a variable is a reserved place in your (or in this case, repl's servers) computer's RAM (Ramdom Access Memory), that can be edited.
Types of Variables.
This can only hold 2 values, true or false
This can hold multiple alphanumeric and special characters, such as
This can only hold a single alphanumeric character
This can hold a single numeric value
This can hold a single decimal value
There are TONS more types then this but for the sake of space (and me being lazy lol), I'm not going to list them all.
These are basically just normal variables but they cannot be edited
These are NOT declared normally
const string = "hello";
Ah, everyone just loves these! they are such a pain in the behind
A syntax error is a:
- spelling error
- missing character
These are basically mathematical errors or misspelling of variables
You may be wondering: Why? it looks fine
Well, it's not. If you look closer it's simple. You just made a capitalization error
These are nearly undetectable
some signs are:
- low memory
- division by zero
Good Programming Practices
//this is a comment
well that's all for now
WE HAVE A CLASSROOM NOW: