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
B
C
D
Dim culture As NumberFormatInfo = New CultureInfo("zh-HK").NumberFormat
culture.NumberNegativePattern = 1
Return numberToPrint.ToString("C", culture)
culture.NumberNegativePattern = 1
Return numberToPrint.ToString("C", culture)
B
Dim culture As NumberFormatInfo = New CultureInfo("zh-HK").NumberFormat
culture.CurrencyNegativePattern = 1
Return numberToPrint.ToString("C", culture)
culture.CurrencyNegativePattern = 1
Return numberToPrint.ToString("C", culture)
C
Dim culture As New CultureInfo("zh-HK")
Return numberToPrint.ToString("()", culture)
Return numberToPrint.ToString("()", culture)
D
Dim culture As New CultureInfo("zh-HK")
Return numberToPrint.ToString("C", culture)
Return numberToPrint.ToString("C", culture)
Note: Not available