Question:
You are developing an application for a client residing in Hong Kong. You need to display negative currency values by using a minus sign. Which code segment should you use?
A NumberFormatInfo= culture =
gcnew CultureInfo("zh-HK")::NumberFormat;
culture->CurrencyNegativePattern = 1;
return numberToPrint->ToString("C", culture);B NumberFormatInfo= culture =
gcnew CultureInfo("zh-HK")::NumberFormat;
culture->NumberNegativePattern = 1;
return numberToPrint->ToString("C", culture);C CultureInfo= culture =
gcnew CultureInfo("zh-HK");
return numberToPrint->ToString("()", culture);D CultureInfo= culture =
gcnew CultureInfo("zh-HK");
return numberToPrint->ToString("-(0)", culture);
+ AnswerA
+ Report