|
by luisabreu via LA.NET [EN] on 11/8/2008 12:09:08 PM
Before using Code Contracts, you’ll probably already written several lines of validation code for testing requirements on your methods. I’ll keep using the Person class to illustrate some code that you might have before using the Code Contracts library. So, in the past, you might have something like this: public class Person { private String _firstName; private String _lastName;
... [ read more ]
|