Is it possible to serialize a C# object to an XML file with this special format?
class Job
{
Guid JobGuid;
List<Source> Sources;
}
I want to get this XML format:
Module_n
(with n the index of the sub-element) instead of Source
<job JobGuid=".....">
<Sources>
<Module_1> </Module_1>
<Module_2> </Module_2>
</Sources>
</job>