In C# you can do this:
foo = string.Format(\"{0} {1} {2} {3} ...\", \"aa\", \"bb\", \"cc\" ...);
This method Format() accepts in
Format()
use the params keyword. For example
static void Main(params string[] args) { foreach (string arg in args) { Console.WriteLine(arg); } }