What is the difference between managed and unmanaged code?
*******

Answer Posted / alb.shah

A code that executed under the instructions of CLR is called
managed code.
A code that execute without the instruction of CLR is called
unmanaged code.

Program written in any .net compatible language will go for
compilation for 2times.
In the first compilation of the program, the language
compiler will generate MSIL code which is the managed code.
&

the code generated after the second execution ie by the CLR
is called unmanaged code which is machine understandable and
not by the user.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define data caching?

545


What is ispostback method in asp.net? Why do we use that?

577


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

1786


How does ASP.NET framework maps client side events to Server side events.?

553


What is postback in asp net?

564






Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

1379


Is it possible to create web application with both webforms and mvc?

541


What are the advantages of Web API?

639


How do I open an ashx file in windows 7?

573


What are the different methods of session maintenance in asp.net?

542


Securitywise What are the Enhancements in 2.0?

1492


What is difference between singleton and single call?

650


What is asp net application object?

541


Explain diff. Between friend and protected friend?

500


What are the three parts of an http response?

534