Microsoft
70-513 · Question #139
70-513 Question #139: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #139. The question stem and answer options stay visible for context.
Question
A Windows Communication Foundation (WCF) client application is consuming an RSS syndication feed from a blog. You have a SyndicationFeed variable named feed. The application iterates through the items as follows. (Line numbers are included for reference only.) 01 foreach (SyndicationItem item in feed.Items) 02 { 03 } You need to display the content type and body of every syndication item to the console. Which two lines of code should ou insert between lines 02 and 03?
Options
- AConsoleWriteLine(item.Content.Type);
- BConsole.WriteLine(item.Content.GetType());
- CConsole.WriteLine(item.Content.Type);
- DConsole.WriteLine(item.Content.GetType());
Unlock 70-513 to see the answer
You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.