Ok, so today I'm going to introduce the theoretical stuff of C# (btw this Will be useful later).
Well, a variable is a reserved place in your computer's RAM (Ramdom Access Memory), that can be edited. (note that in some languages, like Rust, variables are constants by default)
- bool This can only hold 2 values, true or false
- string This can hold multiple alphanumeric and special characters, such as "hello world"
- char This can only hold a single alphanumeric (or special) character
- Integer This can hold a single numeric value
- double This can hold a single decimal value > Notice! > 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";
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
//this is a comment
Hope this helped, i will be releasing another part in like a week or something idk