what is managed and unmanaged code?

Answer Posted / kirti

The .NET framework provides several core run-time services to the programs that run within it - for example exception handling and security. For these services to work, the code must provide a minimum level of information to the runtime. i.e., 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.

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we implement web farm and web garden concept in asp.net?

537


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

510


Explain managed code an un-managed code.

592


What are the elements of a website?

513


In which event of the page viewstate is available?

464






What is difference between cache and session?

494


Contrast OOP and SOA. What are tenets of each ?

1734


Is asp.net core faster?

540


What is the difference between session and viewstate?

513


What is difference Between Authentication and authorization?

574


Can you explain page lifecycle in net?

503


To display data in a Repeater control which template you provide?

586


What is http pipeline in asp.net?

509


Explain Optimization technique description?

596


How will you do Redo and Undo in a TextControl?

664