Developed by Microsoft’s Research in Software Engineering, Code Contracts provide a way to convey code assumptions in your .NET applications. They can take the form of preconditions, postconditions, and state invariants. In C# Code Contracts Succinctly, author Dirk Strauss demonstrates how to use Code Contracts to validate logical correctness in code, how they can be integrated with abstract classes and interfaces, and even how they can be used to make writing documentation less painful.
Book Description
Topics included: Getting Started • Using Code Contracts • Some Useful Tips • Testing Code Contracts • Code Contracts Editor Extensions • Conclusion • Tools and Resources.
Download Free PDF / Read Online
Author(s): Dirk Strauss
Publisher: Syncfusion Inc.
Published: March 2016
Format(s): PDF, Mobi(Kindle)
File size: 2.87 MB(pdf)
Number of pages: 90
Download / View Link(s): PDF, Mobi
Publisher: Syncfusion Inc.
Published: March 2016
Format(s): PDF, Mobi(Kindle)
File size: 2.87 MB(pdf)
Number of pages: 90
Download / View Link(s): PDF, Mobi