CSharpFeeds - All your C# feeds in one place.

Saturday, November 08, 2008

Code Contracts and compatibility with existing code

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 ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us