nerdexam
Microsoft

98-372 · Question #137

A class named Student is contained inside a namespace named Contoso.Registration. Another class named Student is contained inside a namespace named Contoso.Contacts. You need to use both classes…

The correct answer is A. Add the following lines of code on the top of the code file. C. Add the following lines of code on the top of the code file. See the full explanation below for the reasoning.

Question

A class named Student is contained inside a namespace named Contoso.Registration. Another class named Student is contained inside a namespace named Contoso.Contacts. You need to use both classes within the same code file. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

Options

  • AAdd the following lines of code on the top of the code file.
  • BRefer to the classes by using their fully qualified class names, Contoso.Registration.Student
  • CAdd the following lines of code on the top of the code file.
  • DAdd the following line of code on the top of the code file.

How the community answered

(28 responses)
  • A
    75% (21)
  • B
    11% (3)
  • D
    14% (4)

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice