If you're anything like me, you'll still be getting the hang of String.Format ever since sprintf was removed from our toolbag. So, here's a tool to interactively play with a format specifier to see how it formats a value that's been parsed in each of the common types. [[posterous-content:CyoFdhjuFpmwstAJFzdF]] And here's the link to the often-hard to find MSDN format specifier references: Standard numbers Custom numbers Standard datetimes Custom datetimes Here's the exe: stringformat-exe Here's the source: stringformat-source

Thanks for reading! And if you want to get in touch, I'd love to hear from you: chris.hulbert at gmail.

Chris Hulbert

(Comp Sci, Hons - UTS)

Software Developer (Freelancer / Contractor) in Australia.

I have worked at places such as Google, Cochlear, Assembly Payments, News Corp, Fox Sports, NineMSN, FetchTV, Coles, Woolworths, Trust Bank, and Westpac, among others. If you're looking for help developing an iOS app, drop me a line!

Get in touch:
[email protected]
github.com/chrishulbert
linkedin



 Subscribe via RSS