The opposite of serialization is deserialization which is a process that converts the outcome of serialization into the original object. NET Framework offers binary option meaning serialization technologies, binary and XML.
Binary Serialization Binary serialization preserves type system fidelity. Type system fidelity denotes that type information is not lost in the serialization process. During the serialization process, public and private fields of the object and the name of the class and the containing assembly are converted to a stream of bytes written to a data stream. During deserialization, an exact replica of the object along with type information is reconstructed. XML Serialization This is covered in the XML Serialization chapter. Serialization Concepts Why would you want to use serialization. The ability to convert objects to and from a byte stream can be incredibly useful.