adspace


What are code contracts?

Answer Posted / Jyoti Sinha

Code Contracts is a programming discipline and set of tools for defining, verifying, and enforcing specific conditions at runtime in the Microsoft .NET Framework applications. These conditions can include preconditions (checking that a method's parameters are valid), postconditions (checking the result of a method), object invariants (checking an object's state), and threads invariants (checking thread safety).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1143