摘要:
using System.IO;using System.Xml;using System.Xml.Serialization; ///<summary>///将对象转换为XML字符串///</summary>///<paramname="obj"></param>///<returns></returns>publicstaticstringToXmlString(Model.Studentobj){using(MemoryStreamms=newMemoryStream()){System.Type 阅读全文