Quote Originally Posted by VilleK
How do you mean?

.NET has very good built-in serialization to and from XML:
System.Xml.Serialization.XmlSerializer

If you want to write your own you can use reflection to enumerate and read fields from a class.
Well, I think I'm looking for something like the BitConverter:

http://msdn.microsoft.com/library/de...classtopic.asp

I'm taking a look at it, and it doesn't have a toExtended method... Is that floating-point type not available in .NET?

Anyway, that "reflection" concept you wrote sounds interesting, is there more information on that? Thanks!