I want to do the following in C# (coming from a Python background):
strVar = \"stack\" mystr = \"This is %soverflow\" % (strVar)
How do I
You should be using String.Format(). The syntax is a bit different, numerical placeholders are used instead.
String.Format()
Example:
String.Format("item {0}, item {1}", "one", "two")
Have a look at http://msdn.microsoft.com/en-us/library/system.string.format.aspx for more details.