The most important reason for the use of object serialization is: Save the status of the object in the storage medium so that you can recreate the exactly the same copy later; values will send objects from an application domain to another. In the process of developing ZTETRIS, taking into account the problem of game recording storage, decided to establish a recorded record of the RECORD structure. However, TXT files and INI files can be changed directly, and they don't want to record in the registry, so I decided to record with binary files, and the object serialization in C # can complete this work.
http://www.microsoft.com/china/msdn/archives/library/dndotNet/html/objserializ.asp