Hacks and Hints

Tips for working with C# 2008 and .NET 3.5

Sometimes I find a solution you know I'll need again. I post some of these here.

  • ToString Formatting

    ToString() Method Formatting

    Format numbers for display

    Often the ToString() of a value type in C# .NET3.5 will accept parameter(s) specifying how the result should be formatted.

    Sunday, April 12, 2009
Check XHTML  «  feebdack.com  Copyright ©  Xander Lih  2000-2009   »  Check CSS