I want to deserialize a XML file in C# (.net 2.0).
The structure of the XML is like this:
<elements>
<element>
<id>
123
</id>
<Files>
<File id="887" description="Hello World!" type="PDF">
FilenameHelloWorld.pdf
</File>
</Files>
</element>
<elements>
When I try to deserialize this structure in C#, I get a problem with the Filename, the value is always NULL, even how I try to code my File class.
Please help me. 😉
The following works fine for me: