This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which of the following variable names should or must be avoided?
$DATA
registrationComplete
flag
What is the problem with this line of code: var message;
var message;
var isn't a data type.
var
Use of var keyword without initializing the variable.
A variable named message should always be a string.
message
Which of the following is the output of Console.WriteLine(34.40M);?
Console.WriteLine(34.40M);
34.40M
34.4
34.40
Which of the following lines of code creates a variable correctly?
int x = 12.3 m;
decimal x = 12.3 m;
bool x = 'False';
You must answer all questions before checking your work.
Was this page helpful?