​​What are the different types of serialization?



Following are the three different types of serialization:



- XML serialization: All the public properties are serialized to the XML document.



- SOAP: Any system that understands SOAP can use this serialization. System.Runtime.Serialization is the place where all the classes reside.



- Binary serialization: It is used for the conversion of any code into binary form.