Contains classes both for XML and binary serialization.
A wrapper class for serializing any kind of object, including the ones that are not marked with SerializableAttribute or which are not supported by BinaryFormatter. Can be useful when an object is needed to be serialized with BinaryFormatter. When this object is deserialized, the clone of the wrapped original object is returned.
Serializes and deserialized objects in binary format.
See the Remarks section for details and for the differences to BinaryFormatter.
XmlSerializer makes possible serializing and deserializing object instances into/from XML content. The class contains various overloads to support serializing directly into file or by XElement, XmlWriter, any TextWriter and any Stream implementations.
See the Remarks section for the differences compared to System.Xml.Serialization.XmlSerializer class.
Options for serializer methods of XmlSerializer class.