Hi!
Simply put, Managed Code refers to the code that executes within the
confines and control of the Common Language Runtime (CLR), the Virtual
Machine for the .NET Framework. And one of the benefits of using managed
code is that you can allocate memory for the objects created by your
application, without worrying about releasing that memory. The CLR is
intelligent enough to decide when an object, allocated by your application,
has become garbage (i.e., no longer being used by your application), and it
will automatically collect all the garbage objects and release the
associated memory. This process is termed as Garbage collection.
The following articles by Jeffrey Richter will help you understand it
better:
http://msdn.microsoft.com/msdnmag/issues/1100/GCI/GCI.asp
http://msdn.microsoft.com/msdnmag/issues/1200/GCI2/GCI2.asp
--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/