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.
Specify the syntax which is be used to inherit from a class in C#?
Differentiate between the ASP.NET session and a ASP session?
Explain the characteristics of the value-type variables which are supported in a C# programming language.
Describe the role of the DataSet object in the ADO.NET?
Elucidate Master Pages in ASP.NET?
Explain the purpose of the JIT compiler in .NET Framework?
Write the name of the control that you will use to make sure which values in the two different controls match?
Specify what does term “managed” mean within the .NET context?
State the various advantages of cloud services?
Write the code to choose an item in a ListView control programmatically in the C#?
18,76,764
1926082 Asked
3,689
Active Tutors
1434428
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!