+ 2

'Dllimport' in CSharp?

What is this about? I usually use 'Using' for using any namespace in CSharp for example 'Using System;". Is there any diffrence?

11th Feb 2019, 10:12 AM
Aimlessly
3 ответов
+ 2
Well What is managed dll and what is unmanaged dll?
12th Feb 2019, 11:44 AM
Aimlessly
+ 1
using is used for managed dll DllImport is used for unmanaged dll. Use using if you can, use Dllimport if you really need to.
11th Feb 2019, 9:07 PM
sneeze
sneeze - avatar
+ 1
Managed code is developed within the .net framework. UnManaged code, usually the older dll, is developed outside the .net framework. https://www.c-sharpcorner.com/uploadfile/puranindia/managed-code-and-unmanaged-code-in-net/ https://docs.microsoft.com/en-us/dotnet/standard/managed-code
12th Feb 2019, 8:59 PM
sneeze
sneeze - avatar