Hi, this is Jeffrey Richter, offering one more excerpt from my latest book, CLR via C#, Third Edition . If you use the “CLR” tag on this blog , you can find all the other excerpts, as well as a post called “Sample chapters: CLR via C#, by Jeffrey Richter,” which offers you two complete chapters. Today’s excerpt is from Chapter 24, “Runtime Serialization.” It’s a section called “Controlling Serialization and Deserialization.” Enjoy, and post a comment with any feedback or questions you might have. Controlling Serialization and Deserialization When you apply the SerializableAttribute custom attribute to a type, all instance fields ( public , private , protected , and so on) are serialized (Footnote 1). However, a type may define some instance fields that should not be serialized. In general, ...read more