环境:VS 2010 Beta2第一个问题:
C#中我用BinaryFormatter序列化一个类,为什么生成的文件用记事本打开是如下格式:
?SaveData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null vSystem.Collections.Generic.List`1[[SaveData.Product, SaveData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] _items_size_version SaveData.Product[] SaveData.Product
SaveData.Product _id_name_price
Spiky Pung @廆 Gloop Galloop Soup 9@ Hat Sauce (@能窥探到序列化前的数据,我记得以前上课的时候老师讲的时候,打开看,里面全是乱码,不像这个信息给的那么全?为什么?第二个问题:
C#写了个COM,C++工程里面能import使用,然后在建个C#工程,准备引入这个COM,在COM选项卡的地方能看到,但是无法引入,报
The Activex type library..............was exported from a .NET assembly and connot be added as a reference.
这个是什么原因?烦劳各位不吝赐教啊~
C#中我用BinaryFormatter序列化一个类,为什么生成的文件用记事本打开是如下格式:
?SaveData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null vSystem.Collections.Generic.List`1[[SaveData.Product, SaveData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] _items_size_version SaveData.Product[] SaveData.Product
SaveData.Product _id_name_price
Spiky Pung @廆 Gloop Galloop Soup 9@ Hat Sauce (@能窥探到序列化前的数据,我记得以前上课的时候老师讲的时候,打开看,里面全是乱码,不像这个信息给的那么全?为什么?第二个问题:
C#写了个COM,C++工程里面能import使用,然后在建个C#工程,准备引入这个COM,在COM选项卡的地方能看到,但是无法引入,报
The Activex type library..............was exported from a .NET assembly and connot be added as a reference.
这个是什么原因?烦劳各位不吝赐教啊~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货