Top "Managed" questions

Managed refers to code that requires and will only execute under the control of a Common Language Runtime (CLR).

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 …

c# .net unmanaged definition managed
Difference between "managed" and "unmanaged"

I hear/read about it sometimes when talking about .NET, for example "managed code" and "unmanaged code" but I have …

.net windows unmanaged managed
Possible to call C++ code from C#?

Is it possible to call C++ code, possibly compiled as a code library file (.dll), from within a .NET language …

c# .net c++ unmanaged managed
How to get parent process in .NET in managed way

I was looking a lot for method to get parent process in .NET, but found only P/Invoke way.

c# process pinvoke parent managed
What is the difference in managed and unmanaged code, memory and size?

After seeing and listening a lot regarding managed and unmanaged code, and knowing the only difference is that managed is …

c# .net unmanaged managed
Difference between native and managed code?

For example, when looking at the GlowCode profiler website it says: "GlowCode 6.2 and x64 profile native, managed, and mixed C++, …

native managed
Embedding unmanaged dll into a managed C# dll

I have a managed C# dll that uses an unmanaged C++ dll using DLLImport. All is working great. However, I …

c# unmanaged dllimport managed
What is meant by "managed" vs "unmanaged" resources in .NET?

What is meant by the terms managed resource and unmanaged resource in .NET? How do they come into the picture?

c# .net unmanaged managed
WinApi - GetLastError vs. Marshal.GetLastWin32Error

I tested a lot. But I found no disadvantages of those 2! But see the accepted answer. I read here that …

c# winapi marshalling unmanaged managed
Marshaling – what is it and why do we need it?

What is marshalling and why do we need it? I find it hard to believe that I cannot send an …

c# .net unmanaged marshalling managed