nerdexam
Microsoft

70-518 · Question #41

You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will consist of several data entry forms…

The correct answer is C. Create a new user control and reference it on each data entry form. See the full explanation below for the reasoning.

Question

You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will consist of several data entry forms. Each data entry form requires a user to enter phone numbers and addresses. You need to design a solution that promotes code reusability. What should you do?

Options

  • AAdd multiple text boxes for each data entry form.
  • BUse the same style resource for each data entry form.
  • CCreate a new user control and reference it on each data entry form.
  • DCreate a new merged resource dictionary and reference it from each data entry form.

How the community answered

(54 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    81% (44)
  • D
    11% (6)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice