How to Create an XML Serializer for More than One Type?
<p>I am using the XmlSerializer like this,</p>

<pre><code>XmlSerializer xs = new XmlSerializer(typeof(myType));
</code></pre>

<p>Now I have 5 different "myType". How do I pass the specific type dynamically so I don't have to repeat the same code 5 times?</p>
