BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

rss
  • Code Contracts in C#

    by Jon Skeet on  Apr 14, 2010

    This article discusses the concepts and ideas of Code Contracts and the way they are handled in C#. Unless you happen to have used a language supporting Design by Contract before, you may sometimes find yourself unsure of how to proceed with Code Contracts. If you're using it in conjunction with Test Driven Development, what should you write first - the contract or the implementation?

BT