Question:What is the syntax required to load and use a normal unmanaged windows DLL (e.g. kernel32.DLL) in a managed .NET C# code? 

A Assembly.Load(''Kernel32.DLL'') 

B LoadLibrary(''Kernel32.DLL'') 

C [DllImport(''kernel32'', SetLastError=true)] 

D Unmanaged DLLs cannot be used in a managed .NET application. 

+ Answer
+ Report
Total Preview: 1645

Copyright © 2024. Powered by Intellect Software Ltd