Hello.
I'm primarily a Java programmer but have just started using C#.
I'm trying to write all attributes in a class to an XML file which I can do by explicitly naming the nodes and attributes to be written to the XML file. However in Java you could just pass the object to write to XML to the XML writing method (like Serialization), does C# support anything like this?
Any and all suggestions would be most welcome.
Thankyou
we are all of us living in the gutter.
But some of us are looking at the stars.
I'm primarily a Java programmer but have just started using C#.
I'm trying to write all attributes in a class to an XML file which I can do by explicitly naming the nodes and attributes to be written to the XML file. However in Java you could just pass the object to write to XML to the XML writing method (like Serialization), does C# support anything like this?
Any and all suggestions would be most welcome.
Thankyou
we are all of us living in the gutter.
But some of us are looking at the stars.