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)- A2% (1)
- B81% (38)
- C11% (5)
- D6% (3)
Community Discussion
No community discussion yet for this question.