Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?



Describe the advantages of writing a managed code application instead of unmanaged one. What's ..

Answer / kirti

"Advantage includes automatic garbage collection,memory management,security,type checking,versioning

Managed code is compiled for the .NET run-time environment. It runs in the Common Language Runtime (CLR), which is the heart of the .NET Framework. The CLR provides services such as security,

memory management, and cross-language integration. Managed applications written to take advantage of the features of the CLR perform more efficiently and safely, and take better advantage of developers existing expertise in languages that support the .NET Framework.

Unmanaged code includes all code written before the .NET Framework was introduced�this includes code written to use COM, native Win32, and Visual Basic 6. Because it does not run inside the .NET environment, unmanaged code cannot make use of any .NET managed facilities."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

How to free the memory that is not used by an object in garbage collection?

4 Answers   IBM,


What is a model in android?

0 Answers  


How we can multiple submit buttons in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


How we can add the CSS in ASP.Net MVC?

0 Answers  


What happens when I install the .net framework 3.0? How can I upgrade if I already have the .net framework 2.0 installed?

0 Answers  






What is the main difference between VS 2005 and VS 2003?

5 Answers   CTS, Satyam,


What is the difference between string and String

1 Answers  


Explain what is routing?

0 Answers  


How can we determine action invoked from HTTP GET or HTTP POST?

0 Answers  


what is mean by versioning? Please answer me. Advance thanks.

2 Answers   Excel,


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

0 Answers  


Tell me about the internal working of Garbage collector?

3 Answers   Honeywell,


Categories