using System.Text.RegularExpressions;
public static void Main()
string test = Sprintf("Testing %s and %s", new string[]{"This", "That"});
public static string Sprintf(string format, string[] args)
Regex needle = new Regex("(%s)");
while (needle.IsMatch(format))
format = needle.Replace(format, args[i], 1);