Multiple Choice
Which one of the following statements initializes a variable with a double literal?
A) string modelNumber = "R2C32";
B) double percentage = 23.59;
C) int width = 150;
D) decimal bonus = 0.99m;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: Some operations can be performed on strings,
Q22: A constant field's value can only be
Q23: The _ method can be used to
Q24: A symbol used in code for performing
Q25: In C#, a variable must be assigned
Q27: In C#, an exception handler is written
Q28: You cannot assign a numeric value to
Q29: When a cast operator is applied to
Q30: In code, you move the input focus
Q31: The using System; directive is required for