What is managed or unmanaged code?



What is managed or unmanaged code?..

Answer / Ravi Ranjan Kumar

Managed code in C# refers to the code that runs inside the Common Language Runtime (CLR) and adheres to its rules, such as memory management, security, and exception handling. On the other hand, unmanaged code consists of low-level operations directly interacting with hardware or operating system services, without relying on CLR for these tasks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How u make an application remotable?

1 Answers  


Which operator cannot be overloaded in c sharp?

1 Answers  


What you mean by delegate in c#?

1 Answers  


What is the use of flag in c#?

1 Answers  


What is gac? What are the steps to create an assembly and add it to the gac?

1 Answers  


What is the minimum size (in bytes) of string data type in c#? Give its compatible data type in .NET Framework.

5 Answers  


What is difference between array and collection?

1 Answers  


How will U encapsulate button trigger event into text_box event of Pressing Enter key?i.e only after pressing Enter after the text is typed the button trigger event should activate?

6 Answers   TCS,


Why do we need indexer in c#?

1 Answers  


Can a class have more than 1 destructor?

1 Answers  


Define the term immutable ?

1 Answers   Siebel,


What is the wildcard character in sql?

1 Answers  


Categories