文档介绍:东华软件股份公司-NET面试题(试题)
姓名:_____________ 学校:_____________________ 专业:______________________
学历:__________ 联系方式:__gion r = new Region();
();
use Visual Studio .NET to create an application that uses an assembly. The assembly will reside on the client computer when the application is installed. You must ensure that any future applications installed on the same computer can access the assembly. Which two actions should you take? (Each correct answer presents part of the solution. Choose two.)
 
A:Use XCOPY to install the assembly in the global assembly cache.
B:Use XCOPY to install the assembly in the Windows\Assembly folder.
C:Create a strong name for the assembly.
D:Precompile the assembly by using the Native Image Generator ().
E:Modify the application configuration file to include the assembly.
F:Use a deployment project to install the assembly in the global assembly cache.
G:Use a deployment project to install the assembly in the Windows\System32 folder.
use Visual Studio .NET to create a component named Request. This component includes a method named AcceptRequest, which tries to process new user requests for services. AcceptRequest calls a private function named Validate.
 
You must ensure that any exceptions encountered by Validate are bubbled up to the parent form of Request. The parent form will then be respon