序列化
摘要:
1、BinaryFormatter二进制序列化对象实例到文件View Code FileStream fs = new FileStream("DataFile.dat", FileMode.Create); // Construct a BinaryFormatter and use it to serialize the data to the stream. BinaryFormatter formatter = new BinaryFormatter(); try { ... 阅读全文
posted @ 2012-12-31 14:17 永远有李 阅读(96) 评论(0) 推荐(0) 编辑