using System;using System.Globalization;public class Example{ public static void Main() { decimal value = 123.456m; Console.WriteLine(value.ToString("C2")); }}//$123.46