Microsoft.Contracts namespace
问题 For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts; ? 回答1: For using code contracts. 回答2: You can find the library here C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\mscorlib.dll 来源: https://stackoverflow.com/questions/1679392/microsoft-contracts-namespace