What types of files can you this use method for?

You are required to dynamically load assemblies into an application domain.
You are using the Load method of the AppDomain class.
What types of files can you this use method for?

You are required to dynamically load assemblies into an application domain.
You are using the Load method of the AppDomain class.
What types of files can you this use method for?

A.
Library application files (.dll).

B.
All assembly files, no matter what there file extensions are.

C.
Application configuration files (.config).

D.
Standalone application files (.exe).

Explanation:
An assembly specified in the Load method can use a valid extension, an invalid extension, or no extension at all.
As long as the Microsoft Intermediate Language (MSIL) code is valid, the extension is immaterial.
Incorrect Answers:
A, D: Although .dll and .exe are common extensions for .NET assemblies, they are not required when you use the Load method of the AppDomain class.
C: You cannot use the Load method to load application configuration files (.config) because these have no MSIL code to execute and cannot be loaded into an application domain



Leave a Reply 1

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