Code examples shown in this section require
Imports System.IO and
Imports System.Xml.Serialization directives.
One of the main goals of serialization is to provide a way for exchanging data with other applications so that such applications can re-create objects’ state. If you want to share your objects with non-.NET applications or with applications running on different platforms, a convenient way for serializing objects is provided by the XML serialization. As you know, XML is a standard international file format for data exchange. XML files are text files organized according to a hierarchical structure and thus can be manipulated in whatever platforms and applications you want. XML serialization provides two great ...