An introduction to Code Contracts in .NET 4.0

added by RyanTomlinson
8/20/2010 8:01:15 AM

1 Kicks, 303 Views

NET 4.0 sees the introduction of Code Contracts. Code Contracts allow the developer to specify rules and "assumptions on your code in the form of pre-conditions, post-conditions and object invariants" (in the words of DevLabs).