I want to do the following in C# (coming from a Python background):
strVar = \"stack\" mystr = \"This is %soverflow\" % (strVar)
How do I
You can use the dollar sign and curl brackets.
Console.WriteLine($"Hello, {name}! Today is {date.DayOfWeek}, it's {date:HH:mm} now.");
See doc here.