What is Managed/Unmanaged .net code and what difference does it make to me? [duplicate]
Question
I see the terms managed and unmanaged used a fair bit around here. Searching online I can get a fuzzy notion of what they are, but what I really need to know is how it affects me as C# desktop app developer? How do I know which I'm dealing with at any point and how does it change my approach to that code?
Duplicate
Solution
Managed code is code that needs the .NET framework to run... unmanaged code doesn't. If you are writing code in C# you are writing managed code. You might interface with unmanaged code if you use Pinvoke, but if you stick to pure C# your application will be all managed code.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow