摘要: XML序列化与反序列化 // OBJECT -> XML public static void SaveXml(string filePath, object obj) { SaveXml(filePath, obj, obj.GetType()); } public static void SaveXml(string filePath, object obj, System.Type type) { using (System.IO.StreamWriter writer = new System.IO.StreamWriter(filePath)) { System.Xml.Ser 阅读全文
posted @ 2012-05-08 19:20 上海-天浩 阅读(240) 评论(0) 推荐(0) 编辑

Living in ShangHai

Copyright © 2008 天浩阁 Corporation, All Rights Reserved