Numeric Formatting:Custom Format Strings:Escapes and Literals
using System; public class EscapesandLiterals { public static void Main() { Console.WriteLine("{0:###\\#}", 255); Console.WriteLine(@"{0:###\#}", 255); Console.WriteLine("{0:###'#0%;'}", 1456); } }