摘要:
XML序列化与反序列化 整理文档 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)) 阅读全文