This email was created by [your name] who thought you would be interested in the following Article:
"Get rid of XmlInclude when using XmlSerializer"
Serializable Extra Types for .NET 4[^]Does what you are looking for using attributes.
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!