Test
test
The data type used to store text (a series of characters)
string
This character is added to the end of a statement so the computer recognizes it as the end or (termination) of a statement
semi-colon
When converting a string to an integer which method should I use?
Convert.ToInt();
This feature helps you out when you are writing code by suggesting things that could be fixed and underlining errors with a red squiggly
Intellisense
The output method that writes to the console but leaves the cursor on the SAME LINE
Console.Write();
Data type for whole numbers (integers)
int
These characters hold your code (you type everything between these characters)
curly brackets
When converting a string to a double which method should I use?
Convert.ToDouble();
If you want to add a single line comment in your code use this
//
2 forward slashes
The user's input can be captured with this Console method
Console.ReadLine();
Data type for numbers with a decimal place that will be used for financial calculations (monetary amounts)
decimal
Data type _________ ;
Fill in the blank
When converting a string to a decimal which method should I use?
Convert.ToDecimal();
*/
*/
This is used for what...
multi-line comment
This can be placed at the end of your code to hide all of the extra information
Console.ReadKey();
Data type for a decimal point value that will NOT be used for money amounts such as body temperature 98.6
double
What is missing from the following syntax:
Console.WriteLine;
Convert.ToInt32(number);
This escape sequence does what?
new line
Console.WriteLine(1 + 1);
The given output...
2
The data type that can store a value as either True or False
Bool or Boolean
I want to convert a string captured from the user to an int data type. What is missing from the following syntax.
Convert.Int(Console.ReadLine());
To
Can I convert a string named pizza into an int data type
No, it is not able to be a number
If I want to tab... what is the escape sequence?
\t
backslash t