Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?
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 |
How to free the memory that is not used by an object in garbage collection?
What is a model in android?
How we can multiple submit buttons in ASP.Net MVC
How we can add the CSS in ASP.Net MVC?
What happens when I install the .net framework 3.0? How can I upgrade if I already have the .net framework 2.0 installed?
What is the main difference between VS 2005 and VS 2003?
What is the difference between string and String
Explain what is routing?
How can we determine action invoked from HTTP GET or HTTP POST?
what is mean by versioning? Please answer me. Advance thanks.
Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).
Tell me about the internal working of Garbage collector?