XML Serialization w/o the XML Declaration

Have you ever wanted serialize an object graph to an xml document without the xml declaration? Several people have asked how to do it, so I posted the XmlTextWriterNoDeclaration to gotdotnet. It’s an example of how to create a custom XmlTextWriter which doesn’t write the XML declaration. Pass it to your XmlSerializer and enjoy!