DotNet Interview Question 24 of 100:
What is Managed and Unmanaged code in dotNet?
Answer:
Managed code is executed by the CLR, it has services such as garbage collection, exception handling, etc. Unmanaged code is executed by the operating system directly, it doesn't have automatic memory management or safety checks.