using System.Runtime.Serialization.Formatters.Binary; 为什么不能引用, IFormatter bf = new BinaryFormatter();//产生二进制序列化格式--这里无法实例化,
要怎么样把webservice 中序列化的数据在winform中反序列化
要怎么样把webservice 中序列化的数据在winform中反序列化
这行都报错,报什么错? 这是在 mscorlib.dll 中的,都不需要引用
这是我的计算机里面显示的位置,4.0的,请参考:
C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Runtime.Serialization.dll
IFormatter bf = new BinaryFormatter();
那这个怎么实例化出来呢
BinaryFormatter bFormat = new BinaryFormatter();
看看 BinaryFormatter 是不是有波浪线,右键点在波浪线上,弹出的菜单中有没有“解析”?