In C# you can do this:
foo = string.Format(\"{0} {1} {2} {3} ...\", \"aa\", \"bb\", \"cc\" ...);
This method Format() accepts in
Format()
A few notes.
Params needs to be marked on an array type, like string[] or object[].
The parameter marked w/ params has to be the last argument of your method. Foo(string input1, object[] items) for example.