nerdexam
Microsoft

70-511 · Question #186

You are developing a Windows Presentation Foundation (WPF) application. This application will be used to display customer data to customer service representatives. Phone numbers are stored as…

The correct answer is B. Public Function Convert(. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application. This application will be used to display customer data to customer service representatives. Phone numbers are stored as ten-digit numbers in the database. The markup is as follows. <TextBlock Text="{Binding Path=PhoneNumber, ConvertersStaticResource PhoneFormatConverter}}" /> You need to ensure that phone numbers are displayed in the following format: (###) ### - #### Which markup segment should you use?

Options

  • APublic Function Convert(
  • BPublic Function Convert(
  • CPublic Function ConvertBackf
  • DPublic Function ConvertBack(

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    70% (30)
  • C
    16% (7)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice