Difference between unmanaged and managed code
Write the difference between unmanaged and managed code?
Expert
Unmanaged code is the code which is carries out directly through the operating system outside the CLR environment. This code is directly compiled to local machine code that depends on the machine configuration.
Managed code is the code which is carries out directly by the CLR in spite of the operating system. Code compiler initially compiles the managed code to intermediate language (IL) code, which is also known as MSIL code. This code does not depend on machine configurations and can be accomplished on different machines.
In the managed code, as the implementation of the code is run by CLR, the runtime offers dissimilar services, like type checking, garbage collection, security support and exception handling. These services provide regularity in platform and language-independent activities of managed code applications. The allocation of memory, security and type safety is necessary to be taken care of by the developer in unmanaged code. If the unmanaged code is not appropriately handled, it may result in leak of memory. Some examples of unmanaged code are Win32 APIs and ActiveX components that perform beyond the scope of native CLR.
State the parameters which controls most of connection pooling behaviors?
Illustrate the various types of contract available in the WCF?
Write the name of two new properties that are further added in an ASP.NET 4.0 Page class?
List out the attributes of an Interface.
How we can prevent users of the application from editing a text in ComboBox controls in the .NET 4.0?
What are HTTP handlers in ASP.NET?
State the two most important categories which distinctly categorize variables of C# programs.
Explain the several methods required by the DataSet object for generating the XML?
Explain how to store and retrieve images in the SQL server database via VB.NET?
What is the role of the DynamicPopulateExtender control?
18,76,764
1954727 Asked
3,689
Active Tutors
1445919
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!