Forwards
Travelling on through software development
Blog Pages
(Move to ...)
About Cirrious Ltd and Stuart Lodge
MvvmCross questions?
Video: MvvmCross at NDC Oslo 2013
MvvmCross at Evolve 2013
MvvmCross and Azure Video of Talk
MvvmCross Video Xaminar
MvvmCross binaries
MvvmCross link list...
@slodge
@mvvmcross
▼
Thursday, December 18, 2008
String.Format - how do you escape curly braces
Took me a little bit of googling to find this out...
Basically if you want your output to be "{like INPUT_HERE this}" then you need to use:
string.Format("{{like {0} this}}", input);
i.e. you escape the curly braces by doubling them up.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment