摘要:
public static class XmlHelper { private static byte[] XmlSerializeInternal(object o, Encoding encoding) { if( o == null ) throw new ArgumentNullException("o"); if( encoding == null ) throw new ArgumentNullException("encoding"); XmlSerializer ser = new XmlSerializer(o.GetType()); 阅读全文