Wich code segment should you use?

You are implementing an ASP.NET web application.The application defines the following classes. public class Person

The applicaction must generate XML from personList, wich is a collection of Person instances.The following XML is an example of the schema than the generated XML must use.
<Persons>
<Person Name="John Doe">
<Address Email="[email protected]"/>
<Address AlternativeEmail="[email protected]"/>
<Address MSNInstanceMessenger="[email protected]"/>
</Person>
…..
</Persons>
You need to generate the XML.
Wich code segment should you use?
A.

B.

C.

D.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.