2/21/2020; PAAIL Bot: This will not teach amateur C# programming. It is done as an example of using PAAIL. This star does teach the first 5 pages of amateur C# programming. Then it ends.
Principles
Principle 1: A "Variable" is a container.
Principle 2: All variables have a "Name".
Principle 3: All variables have a "Type".
Principle 4: All variables have a "Value".
Principle 5: This is a diagram of a variable.
Type------Name-----Value
int nameOfVariable = 0 ;
Principle 6: The "Type" of the variable is the kind of "Values" stored in the variable .
Principle 7: The "Name" of the variable is its ID when communicating with the computer.
Principle 8: The "Value" is the current thing stored in the variable.
Principle 9: Part of programming is creating variables.
Principle 10: This line of code would create a variable.
int nameOfVariable = 0 ;
Principle 11: When you create a variable you tell the computer what type you want it to be.
Principle 12: This line of code would create a variable of the type "int".
int nameOfVariable = 0 ;
Principle 13: The name of the variable on this line of code is "nameOfVariable"
int nameOfVariable = 0 ;
Principle 14: This line of code creates a variable and sets the value to "0".
int nameOfVariable = 0 ;
Principle 15: The "Int" type of variable stands for "integer".
Principle 16: The int type is a number type..
Principle 17: The int type is a no decimals type.
Principle 18: The int type is max 2 Billion.
Principle 19: The int type is minimum -2 Billion.
Principle 20: The = symbol is used all the time in programming.
Principle 21: In this line of code the "=" symbol is used to set the variable value to "0".
int nameOfVariable = 0 ;
Principle 22: The " ; " symbol is used all the time in programming.
Principle 23: In this line of code the " ; " symbol tells the computer the line is finished.
int nameOfVariable = 0 ;
Principle 24: When you create a variable, you choose its name.
Principle 25: I chose "nameOfVariable" on this line of code.
int nameOfVariable = 0 ;
Principle 26: Variable names can have letters and numbers.
Principle 27: Once you have created a variable, you no longer write its type.
Principle 28: In this line of code we change the variable value to "1".
nameOfVariable = 1 ;
Principle 29: These two lines of code create a variable and then changes the value to "1".
int nameOfVariable = 0 ;
nameOfVariable = 1 ;
Principle 30: Here are some of the most common variable types.
string playerName = "Players Name Here" ;
int playerLevel = 0 ;
double playerXP = 0 ;
bool playerAlive = true ;
Principle 31: The "string" type of variable is a combination of letters, numbers, spaces, new lines, and other symbols.
Principle 32: When you work with string types you use the " character.
Principle 33: The "double" variable is a number variable.
Principle 34: The double variable can use decimal numbers.
Principle 35: The double variable type can be a gigantic number. Negative and positive numbers.
Principle 36: The "bool" variable type is always either "true" or "false".
Principle 37: In this line of code we give an example of using the " symbol.
string playerName = "Players Name Here" ;
Copyright © 2025 PAAIL - All Rights Reserved.
Powered by GoDaddy