text
stringlengths
0
13.4k
Chapter 13: Code Contracts
......................................................................................................................................
......................................................................................................................................
......................................................................................................................................
Section 13.1: Contracts for Interfaces
Section 13.2: Installing and Enabling Code Contracts
Section 13.3: Preconditions
Section 13.4: Postconditions
...................................................................................................................................
56
........................................................................................................................
56
..............................................................................................
56
.........................................................................................................................................
........................................................................................................................................
Chapter 14: Settings
..................................................................................................................................................
60
Section 14.1: AppSettings from ConfigurationSettings in .NET 1.x
Section 14.2: Reading AppSettings from ConfigurationManager in .NET 2.0 and later
Section 14.3: Introduction to strongly-typed application and user settings support from Visual Studio
...........................................................................
.......................................
60
60
................................................................................................................................................................................
61
Section 14.4: Reading strongly-typed settings from custom section of configuration file
.................................
62
Chapter 15: Regular Expressions (System.Text.RegularExpressions)
..............................................
65
............................................................................................................
65
Section 15.1: Check if pattern matches input
Section 15.2: Remove non alphanumeric characters from string
Section 15.3: Passing Options
Section 15.4: Match into groups
Section 15.5: Find all matches
Section 15.6: Simple match and replace
.....................................................................................................................................
.................................................................................................................................
....................................................................................................................................
...................................................................................................................
..........................................................................
65
Chapter 16: File Input/Output
Section 16.1: C# File.Exists()
Section 16.2: VB WriteAllText
Section 16.3: VB StreamWriter
Section 16.4: C# StreamWriter
Section 16.5: C# WriteAllText()
...............................................................................................................................
67
.........................................................................................................................................
......................................................................................................................................