This document introduces Microsoft Code Contracts in the .NET 4.0 framework. It discusses what code contracts are, how they can specify intent, assumptions, promises and guarantees in code. It provides a simple example of applying discounts and questions it leaves unanswered. It then introduces Code Contracts features like static verification, runtime checking, cross-language support and enhancing documentation. It surveys the Code Contract samples and discusses contract reference assemblies, patching Sandcastle and provides useful URLs and demos.