Tuesday 4 March 2014

Serialization in C#.net.


What is serialization?

you are taking the value (A) of an object and write to a file (or a buffer, but I will not cover here) for transmission or storage.

We want to serialize (for a file) from  objects. The next time the program is run, we get the list directly from the disk. We see an example of Binary Formatter Serialize and methods.

 their are two classes are related to serialization reside "System.System. Runtime.Serialization " and "System.Runtime.Serialization.Formatters.Binary"

Example:
Program that describes serializable type: C#








0 comments:

Post a Comment