0
kicks
Code Contract framework
When we write code we often have to validate the parameters passed into our methods to make sure that they are appropriate, this usually leaves us with repettitive and ugly code at the start of each method. How nice would it be if we could replace that with a more readable & more concice structure so that we can simply write:
Require.That(fileInfo, IsNot.Null, Is.ExistingFileSystemObject)