Google News
logo
C# - Interview Questions
What are the types of Serialization?
The different types of Serialization are : 
 
XML serialization : It serializes all the public properties to the XML document. Since the data is in XML format, it can be easily read and manipulated in various formats. The classes reside in System.sml.Serialization.

SOAP : Classes reside in System.Runtime.Serialization. Similar to XML but produces a complete SOAP compliant envelope that can be used by any system that understands SOAP.

Binary Serialization : Allows any code to be converted to its binary form. Can serialize and restore public and non-public properties. It is faster and occupies less space.
Advertisement