public static void Main()
var decimalValue = 120.5;
var asCurrency = $"It costs {decimalValue:C}";
Console.WriteLine(asCurrency);
var withThreeDecimalPlaces = $"Exactly {decimalValue:F3}";
Console.WriteLine(withThreeDecimalPlaces);
Console.WriteLine(integerValue);
var prefixedIfNecessary = $"{integerValue:D5}";
Console.WriteLine(prefixedIfNecessary);