What is meant by the terms managed resource and unmanaged resource in .NET? How do they come into the picture?
Managed resources are those that are pure .NET code and managed by the runtime and are under its direct control.
Unmanaged resources are those that are not. File handles, pinned memory, COM objects, database connections etc.