What are two possible ways to achieve this goal?

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.)

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.)

A.
Add the following line of code on the top of the code file,
Using Contoso;
Refer to the classes by using the Student class wrapped within the regions named Registration and
Contacts.

B.
Refer to the classes by using their fully qualified class names, Contoso.Registration.Student and
Contoso.Contacts.Student.

C.
Add the following lines of code on the top of the code file.
Using Contoso.Contacts;
Using Contoso.Registration;
Refer to the classes by using the Student class.

D.
Add the following lines of code on the top of the code file.
Using RStudent = Contoso.Registration.Student;
Using CStudent = Contoso.Contacts.Student;
Refer to the classes as RStudent and CStudent.



Leave a Reply 1

Your email address will not be published. Required fields are marked *