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

What is Cookies Less Session?

614


What are validators and list some validators of asp.net?

547


Define the term Scavenging in Caching?

584


Why we use asp.net for website development?

501


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

627






Why asp.net mvc is better than asp.net? : Asp.Net MVC

501


What is cookies in asp net?

525


What is ashx file in asp.net?

553


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

542


What is the difference between user control an custom control?

618


What does the orientation property do in a menu control?

536


What is is post back property in asp net?

540


What is the difference between a candidate key and primary key?

527


What are the differnt types of handler in ASP.NET?

536


What is Forms Authentication in ASP.NET?

586