Basic Examples
This section presents simple examples that illustrate the most common uses of object serialization. The earlier examples emphasize the intrusive method. External serialization support is similar (see External Serialization).
NOTE: All code in this section comes from example source code distributed as part of the product. The source file appears in parentheses before the code sample.