Welcome to my blog

RamondLee

what is Serialization

Serialization is nothing but the process of converting the state of an object into a format that can be either persisted to disk or transmitted.

The .Net framework features two options for serializing objects - binary and XML serialization.  They are different.

  The binary serialization can preserve the complete state of an object including the private members of the object. On the other hand, the XML one can only include the public fields and properties.

   The binary need the sender and receiver are exactly be the same, but the XML don't.

posted on 2010-08-04 20:44  RamondLee  阅读(144)  评论(0)    收藏  举报