How to access unmanaged code using Interop - C#.NET

Demonstrate how to access unmanaged code using Interop

1. Use System.Runtime.InteropServices.
2. Use DllImport to declare the unmanaged procedure.
3. Map the data types of the procedures parameters to equivalent .NET types.
4. Call the unmanaged procedure.
5. Test it

Explain the namespaces in which .NET has the data functionality class.

System.Data
NET - Explain the services provided by Common Language Infrastructure
Services provided by Common Language Infrastructure - Common Language Runtime, Common Type System, Type Safety, Managed Code Execution, Side-by-side execution....
NET - Explain the components of common language runtime.
Explain the components of common language runtime - Class Loader, MSIL, Code Manager, Garbage collector, Security engine, Type Checker, Thread Support, Debug engine, Base class library, Exception manager, COM Marshaller......
NET - Describe the managed execution process in .NET
Describe the managed execution process in .NET - Steps in managed execution process:......
Post your comment