Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

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".

See http://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".

See https://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".

added 7 characters in body
Source Link
Mark Cidade
  • 100.2k
  • 33
  • 231
  • 238

See http://stackoverflow.com/questions/271398#358259http://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".

See http://stackoverflow.com/questions/271398#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".

See http://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".

added 2 characters in body
Source Link
user1228
user1228

See http://stackoverflow.com/questions/271398#358259

With the linked-to extension you can write this:

var str = "{foo} {bar} {baz}".Format(foo=>foofoo=>"foo", bar=>2, baz=>new object()); 

and you'll get "foo 2 System.Object".

See http://stackoverflow.com/questions/271398#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".

See http://stackoverflow.com/questions/271398#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".

Source Link
Mark Cidade
  • 100.2k
  • 33
  • 231
  • 238
Loading