Creating Understanding and Educating Programmers, Developers and Technical Communities, one post at a time.

Sunday, June 5, 2011


Serialization is the process of converting object into linear sequence of byte, while deserialization is constructing object from that serialized linear sequence of byte. Serialization allows to store the content of object on file, transmit across network or send to another process. Serialization is used in distributed application.

.Net provide clean way to achieve serialization and deserialization in just few lines of code.

SoapFormatter/BinaryFormatter.Serialize/Deserialize methods are used.