Currency Formatting With Dynamic Currency Symbol
问题 In C# the code Console.WriteLine("{0:c}", 998); gives the output $998 in default "US-Language" settings. But if I want to dynamically change my currency symbol to Pound, Sterling, Rupee or any currency symbol depending upon user preference, is there any way around to do this. Say, I call a method: public void PrintInRightCurrencyFormat(decimal value, ICustomFormatter format) { Console.WriteLine( ... ... ... ); } And this method will print the value in required format. One more thing is that