Thursday, 29 July 2004

String.Format("{0}", "formatting string"};

I can never remember all the options for string formatting, particularly the ability to 'pad' strings - in the past I've written padding methods in C# because I didn't know about the format specifier! String.Format("{0}", "formatting string"}; has a good reference for the most common format specifiers... also has a good reference for accessing IndexServer from .NET.

No comments:

Post a Comment