Code Contracts Primer Posted on 2010/08/30 by Roman Hnatiuk Reply Code Contracts Primer by Derik Whittaker looks like a nice intro to Code Contracts: Introduction Handling Legacy Code Providing Support for Unit Tests Utilizing Pre and Post Conditions Utilizing Object Invariants Interface Contracts