// {0} placeholders are filled by position
var s = string.Format("{0} + {1} = {2}", 2, 3, 5);
Console.WriteLine(s);
// N, P and X are number, percent and hex formats
Console.WriteLine($"{1234.5:N2} {0.75:P0} {255:X}");string.Format and numeric formats