exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 1 question 50 discussion

Actual exam question from Microsoft's 70-483
Question #: 50
Topic #: 1
[All 70-483 Questions]

DRAG DROP -
You are developing an application that includes a class named Customer.
The application will output the Customer class as a structured XML document by using the following code segment:

You need to ensure that the Customer class will serialize to XML.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
References: http://msdn.microsoft.com/en-us/library/3dkta8ya.aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mmarinov
Highly Voted 5 years, 1 month ago
The answer is correct.
upvoted 6 times
...
merry
Most Recent 4 years, 5 months ago
Why is the namespace Prospect- prospect why not Customer- Customer
upvoted 1 times
...
Pompadi1304
4 years, 9 months ago
I don't understand, why DateOfBirth does not need a 'XML-Element'....
upvoted 1 times
Damage_San
4 years, 9 months ago
Because the name of the element matches the name of the property so they can be automatically serialized
upvoted 4 times
...
...
Xzibit23
5 years ago
I would not say so, we can see not only digits but charaters in the ProspectID attribute ( XML File) and the C# class has the ID type Integer which would not allow any characters.
upvoted 1 times
gjsdevs
4 years, 7 months ago
c# id is a guid not an int, so can contain other characters, not just numbers.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...