Monthly Archives: July 2013

XML De/serialization

Here’s a way to serialize and deserialize between a (serializable) type and XML (string). Serialization from a type into XML (string) via a memory buffer: public static string SerializeMyType(MyType obj) {       XmlSerializer xml = new XmlSerializer(typeof(MyType));       MemoryStream ms … Continue reading

Posted in Uncategorized | Leave a comment