What is Serialization?

 Posted by Ddd on 2/12/2011 | Category: .NET Framework Interview questions | Views: 2702 | Points: 40


It is the process through which we can convert an object into a format that can be persisted or transported.
During this process, the public and private fields of the object and the name of the class,including the assembly containing the class, are converted to a stream of bytes,
which is then written to a data stream.
Serialization allows us to save the state of objects from memory to files.
It is most commonly used in Web Services/Remoting applications.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response