摘要:
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 阅读全文