.net core string code example
Example 1: c# write variable in string
int age = 22;
Console.WriteLine($"Age: {age}");
Example 2: string interpolation
const number = 42;
const message = `The number is ${number}`;
message; // => 'The number is 42'