.NET String Formatting Cheat Sheet
Posted by Dylan Beattie on 15 September 2010 • permalinkThis morning I saw this tweet from @jhollingworth:
which linked to this excellent guide to .NET string formats by Steve Tibbett
Sometimes, something is just so incredibly useful that even bookmarking it isn’t convenient enough – so I’ve hacked Steve’s guide and examples into a one-page A4 cheat sheet and stuck it on the wall next to my desk.
It’s up on my site as a PDF or as a Word document – download it, print it out, stick it on the wall, and you’ll never find yourself Googling {0:n} vs {0:c} again.
All credit to Steve Tibbett for this – all I did was make it fit on one printed page. Happy formatting.