C# Variável de gravação na string
int age = 22;
Console.WriteLine($"Age: {age}");
Crazy Curlew
int age = 22;
Console.WriteLine($"Age: {age}");
apples = 4
print("I have ${apples} apples.") # string interpolation
print("I have " + apples + " apples.") # string concatenation
print("I have %s apples.", apples) # format string
var message1 = interpolate("turkey");
console.log(message1); // "My favorite food is turkey!"
var message2 = interpolate("tofurkey");
console.log(message2); // "My favorite food is tofurkey!"