PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Assembly.Load ();

B.
Assembly.GetExecutJingAssembly() ;

C.
this.GetType ();

D.
Assembly.LoadFiie(“car.dll”);

Explanation:
Because the car.dll is specific, you need to use the LoadFile option and include the object name.

2 Comments on “Which code segment should you use?


Leave a Reply