using System;using System.Globalization;public class Example{ public static void Main() { decimal value = 123.456m; Console.WriteLine("Your account balance is {0:C2}.", value); }}//Your account balance is $123.46.