Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 16, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Life runs on code. Find out how Visual Studio 2010 can help you realize your vision. Learn more...

User Rating!

Home > Search > Articles & Samples > C-Sharp > Tips & Tricks
Serialize and Deserialize objects as Xml using generic types in C# 2.0        
Total Hits: 101  |  Today: 0 Author: farzaneh ansary       Rating:  
Read Reviews | Write Review |   Your Rating: 

This example uses a simple scenario to demonstrate how an instance of an object is created and serialized into a file stream and stored into database using the Serialize method.The XML stream is saved to a file, and the same file is then read back and reconstructed into a copy of the original object using the Deserialize method. Serialization is the process of converting the state of an object into a form that can be ersisted or transported. The complement of serialization is deserialization,which converts a stream into an object. Together, these processes allow data to be easily stored and transferred.

DevASP.Net users Rating
What is your opinion?
Is this your listing?

    If this is your listing and you like to add the rating box
    displayed on the right side on your site you can use the following code.

Go Back
DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net