// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; namespace StringFormatting6 { public class Program { public static void Main(string[] args) { int iv = 123; string sv = "ABC"; string s = $"{iv} {sv}"; Console.WriteLine(s); } } }