Code Contracts: validating arrays and collections

added by gpeipman
5/28/2010 3:09:42 PM

57 Views

Validating collections before using them is very common task when we use built-in generic types for our collections. In this posting I will show you how to validate collections using code contracts. It is cool how much awful looking code you can avoid using code contracts.


0 comments