What is Unmanaged Coding?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AbhinavR
    New Member
    • Nov 2009
    • 2

    What is Unmanaged Coding?

    Hi,
    I am new to .Net and Have read theory about what an Unmanaged code is. But details I got were not sufficient. Can any one tell about Unmanaged code in .Net and its advantages.

    Please provide pointers to Good tutorials for the same.

    Thanks,
    AbhiR
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Managed code: Code executing under the control of the CLR is called managed code. For example, any code written in C# or Visual Basic .NET is managed code.

    Unmanaged code: Code that runs outside the CLR is referred to as "unmanaged code." COM components, ActiveX components, and Win32 API functions are examples of unmanaged code.

    Advantage of writing managed code is language interoperabilit y( MSIL/bytecode), Memory management etc.

    Comment

    Working...