By mswatcher
via blog.stevex.net
Published: Jul 31 2007 / 03:59
I couldn’t find a quick reference to .NET string formatting using the String.Format() function, so I created this one.
When I started working with the .NET framework, one thing puzzled me. I couldn’t find sprintf(). sprintf() is the C function that takes an output buffer, a format string, and any number of arguments, and builds a string for you. For example:



Add your comment