nerdexam
Microsoft

70-511 · Question #215

You are developing a Windows Presentation Foundation (WPF) application. Two styles, Blue and Green, are used for Border objects. The two styles have the same values for the CornerRadius and…

The correct answer is C. Put Blue and Green into the same file. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application. Two styles, Blue and Green, are used for Border objects. The two styles have the same values for the CornerRadius and BrushThickness properties and different values for the Background property. You need to define the CornerRadius and BrushThickness settings in either the Blue or the Green style, but not both. What should you do?

Options

  • ASeparate Blue and Green into two files.
  • BSeparate Blue and Green into two files.
  • CPut Blue and Green into the same file.
  • DPut Blue and Green into the same file.

How the community answered

(32 responses)
  • A
    13% (4)
  • B
    9% (3)
  • C
    75% (24)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice