What is manage?

B

Bruce Wood

I think that you mean "managed", as in "managed code".

"Managed" means under control of the Common Language Runtime: code and
objects that are running within the CLR and so are subject to security
checks and so are prevented from doing nasty, illegal things.

This is as opposed to "unmanaged code," which runs directly on the
native platform, outside the control of .NET's Common Language Runtime,
and is outside security checks and so can do anything it likes.

All old Win32 code is, by definition, "unmanaged code." All code that
you write in C# is "managed code," although you can tell C# to call
old, unmanaged code to do things that the .NET Framework doesn't
support yet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top