Summary

Serialization can be a valuable tool as you create projects in the future. You saw how easy it is to create a serializable object. You also saw the simple process needed to serialize that object and then subsequently deserialize it. Compare this to the process it would take to save individual Registry entries or, worse yet, come up with your own file format and object-saving scheme. The .NET Framework makes serialization so attractive that you can probably find a use for it in any project you work on.

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.