You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You are in the process of developing an application for ABC.com. You want to include a method in
your code that loads an assembly given its file name or path.
Which of the following actions should you take?
A.
You should consider including code that makes use of the LoadModule method of the
Assembly class.
B.
You should consider including code that makes use of the LoadWithPartialName method of the
Assembly class.
C.
You should consider including code that makes use of the LoadFrommethod of the Assembly
class.
D.
You should consider including code that makes use of the LoadFile method of the Assembly
class.
Explanation:
C is correct answer.
LoadFrom can take name or path for input parameter, while LoadFile can take just path.
Yes, C is the correct answer. See https://msdn.microsoft.com/en-us/library/1009fa28(v=vs.110).aspx