In C# you can do this:
foo = string.Format(\"{0} {1} {2} {3} ...\", \"aa\", \"bb\", \"cc\" ...);
This method Format() accepts in
Format()
You can achieve this by using the params keyword.
Little example:
public void AddItems(params string[] items) { foreach (string item in items) { // Do Your Magic } }