Have a look at the
XmlSerializer Class[
^].
It could help you writing and reading
XML files: it automatically serialize/deserialize all the
public
fields and
properties of any
class
or
struct
using
reflection to iterate on them and create the pairs
name/value.