I have some public members I don't want to be serialized, was wondering if there is an attribute for it?
You are looking for XmlIgnore