Currently browsing tag

Managed

Unmanaged to Managed Type Translation Table

Unmanaged to Managed type translation table: C/C++ C# HANDLE, LPDWORD, LPVOID, void* IntPtr LPCTSTR, LPCTSTR, LPSTR, char* String [in], StringBuilder [in, out] const char*, Wchar_t*, LPWSTR String [in], StringBuilder [in, out] DWORD, unsigned long, Ulong UInt32, [MarshalAs(UnmanagedType.U4)] bool bool LP<struct> [In] ref <struct> SIZE_T uint LPDWORD out uint LPTSTR [Out] …

Introduction to CIL Programming

Whenever you complier your code in .NET, regardless the language you choose, it is converted to Intermediate Language (IL) which is also known as Microsoft Intermediate Language or Common Intermediate Language (CIL). You can think the CIL as that the Byte Code generated by the Java Language. If you are …

How Does a C# Application Run?

An important point is that C# is a “managed” language, meaning that it requires the .NET Common Language Runtime (CLR) to execute. CLR is the virtual machine component of Microsoft’s .NET framework and is responsible for managing the execution of .NET programs. Essentially, as an application that is written in …