c# .net work with const format string code example Example: c# write variable in string int age = 22; Console.WriteLine($"Age: {age}");