Tell us the difference between managed and unmanaged code?



Tell us the difference between managed and unmanaged code?..

Answer / Raj Kumar

Managed code is any code written in a language that's compatible with the .NET Common Language Runtime (CLR), such as C#, VB.NET, or F#. Managed code has access to CLR services like memory management, exception handling, and garbage collection. In contrast, unmanaged code is written in low-level languages like C++ without using .NET Framework's managed environment. Unmanaged code doesn't have access to CLR services, so developers must handle memory management, security, and other tasks themselves.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is Serialiazation?

1 Answers   TCS,


What is common type system (cts)?

1 Answers  


What?s a Windows process?

1 Answers  


What is the advantage of .net core?

1 Answers  


What are the challenging issues you have faced in implementation project/Maintainance project in .net Functionality? How you have overcome that issue?

1 Answers   TCS,


Explain what are an object and a class?

1 Answers  


What is the need of OLE-automation?

1 Answers   CGI,


explain the states of a window service application?

1 Answers  


What is prerender event of a page?

3 Answers   C Squared Systems,


Explain the process of compilation in .NET?

1 Answers  


How big is the datatype int in .net?

1 Answers  


What are the differences between user control and server control?

1 Answers  


Categories