nerdexam
Microsoft

70-511 · Question #248

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. You need to implement the MyProject.MyConverter class. What…

The correct answer is A. Implement the IValueConverter interface. See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. You need to implement the MyProject.MyConverter class. What should you do?

Options

  • AImplement the IValueConverter interface.
  • BImplement the IMultiValueConverter interface.
  • CInherit from the TypeConverter class.
  • DApply the TypeConverterAttribute attribute.

How the community answered

(35 responses)
  • A
    77% (27)
  • B
    3% (1)
  • C
    9% (3)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice