What is managed or unmanaged code in programming?
问题 I am using a specific command in in my C# code, which works well. However, it is said to misbehave in \"unmanaged\" code. What is managed or unmanaged code? 回答1: Here is some text from MSDN about unmanaged code. Some library code needs to call into unmanaged code (for example, native code APIs, such as Win32). Because this means going outside the security perimeter for managed code, due caution is required. Here is some other complimentary explication about Managed code: Code that is executed