The consturctor of System.Xml.Serialization.XmlSerial need the type of the class I want to serialize.
instance = New AnyClass() Dim xmlszer As New XmlSerializer(instance.GetType)
No problem. But how can I get the type of AnyClass without initiating?