While I'm at it there is also a [property:NonSerializable] attribute but I don't think it works with auto properties. After all the "auto" kind of implies that you want all the default behavior, so you need to convert it back to a data backed property (CodeRush's "Create backing store" refactoring makes this fast and easy).
Dec 4, 2008
Serialization and Events
- Tod Gentille (@todgentille) is now a Curriculum Director for Pluralsight. He's been programming professionally since well before you were born and was a software consultant for most of his career. He's also a father, husband, drummer, and windsurfer. He wants to be a guitar player but he just hasn't got the chops for it.