Solved

In Order to Format the First Argument in the WriteLine

Question 28

Multiple Choice

In order to format the first argument in the WriteLine method so that it prints the value 5343.67 as $5,343.67 with a comma and a dollar symbol, you would insert the following format string as the argument to the WriteLine( ) ____.


A) "{0:$,2}"
B) "{C:0}"
C) "{0:C}"
D) "{0:F,2,$}"

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions