I want to do the following in C# (coming from a Python background):
strVar = \"stack\" mystr = \"This is %soverflow\" % (strVar)
How do I
You have 2 options. You can either use String.Format or you can use the concatenation operator.
String newString = String.Format("I inserted this string {0} into this one", oldstring);
OR
String newString = "I inserted this string " + oldstring + " into this one";