nerdexam
Microsoft

70-516 · Question #71

The application user interface displays part names or color names in many plases as '## Name ##'. You need to provide a method named FormattedName() to format part names and color names throughout…

The correct answer is A. Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs. See the full explanation below for the reasoning.

Question

The application user interface displays part names or color names in many plases as '## Name ##'. You need to provide a method named FormattedName() to format part names and color names throughout the application. What should you do?

Options

  • AAdd the following code segment to the ExtensionMethods class in ExtensionMethods.cs:
  • BAdd the following code segment to the ExtensionMethods class in ExtensionMethods.cs:
  • CAdd the following code segment to the ExtensionMethods class in ExtensionMethods.cs:
  • DAdd the following code segmend to the Color class in Color.cs:
  • EAdd the following code segmend to the Part class in Part.cs:

How the community answered

(55 responses)
  • A
    73% (40)
  • B
    4% (2)
  • C
    16% (9)
  • D
    5% (3)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice