close

Serialization is used to write class objects to files.[1]

De-Serialization is used to recover the objects from the file.


When we want to transport an object through network then we have to convert the object into a stream of bytes.[2] The process of converting an object into a stream of bytes is called Serialization. For an object to be serializable, it should implement ISerialize Interface. De-serialization is the reverse process of creating an object from a stream of bytes.


參考資料:

1. C# Serialization & Deserialization with Example

2. 10. What is serialization?

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 me1237guy 的頭像
    me1237guy

    天天向上

    me1237guy 發表在 痞客邦 留言(0) 人氣()