14
1
using System;
2
using System.Text;
3
4
public class Program
5
{
6
public static void Main()
7
{
8
StringBuilder amountMsg = new StringBuilder("Your total amount is ");
9
10
amountMsg.AppendFormat("{0:C} ", 25);
11
12
Console.WriteLine(amountMsg);
13
}
14
}
Cached Result