using System;
using System.Globalization;
public class Test
{
public static void Main()
{
Decimal dec = new Decimal(-1234.4321);
CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US");
culture.NumberFormat.CurrencyNegativePattern = 1;
String str = String.Format(culture, "{0:C}", dec);
Console.Write(str);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uR2xvYmFsaXphdGlvbjsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCSAgICBEZWNpbWFsIGRlYyA9IG5ldyBEZWNpbWFsKC0xMjM0LjQzMjEpOwoJICAgIEN1bHR1cmVJbmZvIGN1bHR1cmUgPSBDdWx0dXJlSW5mby5DcmVhdGVTcGVjaWZpY0N1bHR1cmUoImVuLVVTIik7CgkgICAgY3VsdHVyZS5OdW1iZXJGb3JtYXQuQ3VycmVuY3lOZWdhdGl2ZVBhdHRlcm4gPSAxOyAKCSAgICBTdHJpbmcgc3RyID0gU3RyaW5nLkZvcm1hdChjdWx0dXJlLCAiezA6Q30iLCBkZWMpOwoJICAgIENvbnNvbGUuV3JpdGUoc3RyKTsKCX0KfQ==