这是参照a问题我有,我是能够找到解决这里堆栈 溢
This is in reference to a problem I had which I was able to find the solution to here on StackOverflow.
这不是我的问题,但它是完全一样的问题,我有。我怎么知道,我需要导入特定的DLL文件使用一个特定的命名空间?我认为没有提及这对无论是MSDN页面或对象资源管理器,甚至 没ReSharper的牛逼拿起它。这是任何地方提及?
This wasn't my question, but it was the same exact problem I had. How do I know that I need to import a specific DLL file to use a specific namespace? I saw no reference to this on either the MSDN page or the Object Explorer, and even ReSharper didn't pick up on it. Is this referenced anywhere?
推荐答案从msdn.microsoft/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx:
序列化对象的JavaScript对象符号(JSON)和反序列化JSON数据对象。此类不能被继承。
Serializes objects to the JavaScript Object Notation (JSON) and deserializes JSON data to objects. This class cannot be inherited.
命名空间: System.Runtime.Serialization.Json 大会:System.ServiceModel.Web(在System.ServiceModel.Web.dll)
Namespace: System.Runtime.Serialization.Json Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
更多推荐
我怎么知道什么参考包括导入特定的.NET命名空间?
发布评论