Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. could you plz tell me the exact meaning of managed & unmanaged code in .NET

could you plz tell me the exact meaning of managed & unmanaged code in .NET

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YogeshRT
    wrote on last edited by
    #1

    Hello friens could you plz send me the exact meaning of managed & unmanaged code in .NET & how to use unmanaged code in .NET:-O Yogesh_T -- modified at 0:47 Thursday 15th June, 2006

    S 1 Reply Last reply
    0
    • Y YogeshRT

      Hello friens could you plz send me the exact meaning of managed & unmanaged code in .NET & how to use unmanaged code in .NET:-O Yogesh_T -- modified at 0:47 Thursday 15th June, 2006

      S Offline
      S Offline
      sasidar_d
      wrote on last edited by
      #2

      Managed Code : When you compile your Visual Studio.NET source code, the compiler gives out MSIL (Microsoft Intermediate Language). MSIL code converts into native code at runtime by a Just In Time (JIT) Compiler. MSIL code should supply all the metadata necessary for the Common Language runtime (CLR) to provide services such as Garbage Collection, Memory Management, Cross-Language Integration, Code Access Security etc. All code that is based on MSIL executes as Managed Code. Unmanaged code is the one that was created without taking the requirements of the CLR into account. This code executes in the runtime environment with minimal services from runtime. For example, the above COM object that we created using VB 6 executes as unmanaged code.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups