Browse by Tags

Tagged Content List
  • Blog Post: Aligning Numbers on the Decimal Separator [Ron Petrusha]

    The composite formatting feature in the .NET Framework makes it easy to left-align or right-align a value in a fixed-width field. If the alignment component of a format item in a composite format string is negative, its corresponding argument is left-aligned. If the alignment component is positive, its...
  • Blog Post: String.Compare() != String.Equals() [Josh Free]

    System.String contains the static methods ‘Compare’ and ‘Equals’ which are used for string comparison. public static int Compare( string strA, string strB) public static bool Equals( string a, string b) These two methods perform two very different kinds of comparisons. Developers routinely confuse...
Page 1 of 1 (2 items)