Which code segment should you use?

Posted by: Pdfprep Category: 70-483 Tags: , ,

You are creating a console application by using C#.

You need to access the assembly found in the file named car.dll.

Which code segment should you use?
A . Assembly.Load();
B . Assembly.GetExecutingAssembly();
C . This.GetType();
D . Assembly.LoadFile("car.dll");

Answer: D

Explanation:

Assembly.LoadFile – Loads the contents of an assembly file on the specified path.

http://msdn.microsoft.com/en-us/library/b61s44e8.aspx

Leave a Reply

Your email address will not be published.