nerdexam
Microsoft

98-372 · Question #169

You use code from different companies. You need to avoid naming conflicts within your code. What should you do?

The correct answer is B. Define the classes inside unique namespaces. See the full explanation below for the reasoning.

Question

You use code from different companies. You need to avoid naming conflicts within your code. What should you do?

Options

  • AUse global variables to reference each of the classes.
  • BDefine the classes inside unique namespaces.
  • CDefine each class as private.
  • DDeploy the classes as two separate files.

How the community answered

(47 responses)
  • A
    2% (1)
  • B
    81% (38)
  • C
    11% (5)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice