See http://stackoverflow.com/questions/271398?page=2#358259https://stackoverflow.com/questions/271398?page=2#358259
With the linked-to extension you can write this:
var str = "{foo} {bar} {baz}".Format(foo=>"foo", bar=>2, baz=>new object()); and you'll get "foo 2 System.Object".