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?
Asked
Active
Viewed 1,110 times
1 Answers
2
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.

Jon Tackabury
- 47,710
- 52
- 130
- 168
-
@Jon T: Thanks, Jon, that's the nice succinct sort of answer I was looking for. – Robert Gowland Feb 12 '09 at 14:52