|
by skeet via Jon Skeet: Coding Blog on 10/31/2009 10:04:54 PM
I've just been going through some feedback for the draft copy of the second edition of C# in Depth. In the contracts section, I have an example like this: [ContractClass(typeof(ICaseConverterContracts))] public interface ICaseConverter { string Convert(string text); } [ContractClassFor(typeof(ICaseConverter))] internal class ICaseConverterContracts : ICaseConverter { string ICaseConverter.Convert(string text
... [ read more ]
|