By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 671 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

Garbage Collection and Manage Code?

P: n/a
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu
Jul 21 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Cor
Hi Laser,

You can go to this link (not the microsoft normal link) and type in
"managed code" in the search

http://msdn.microsoft.com/

The garbage collection is a collection from unused objects which is cleaned
by the framework time by time.

I hope this helps,

Cor
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

Jul 21 '05 #2

P: n/a
Those terms usually apply to the .NET environment. You might want to post
this question in one of those NGs.

Wayne

"Laser Lu" <lu********@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu

Jul 21 '05 #3

P: n/a
"Wayne Wengert" <wa***************@wengert.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl
Those terms usually apply to the .NET environment. You might want to
post this question in one of those NGs.


It is; it's cross-posted to both dotnet and VB 'classic' groups so the
responses are a mixture of both worlds.

--
Reply to the group so all can participate
VB.Net... just say "No"

Jul 21 '05 #4

P: n/a
Laser,
In addition to the other's comments:

http://msdn.microsoft.com/netframework/

http://msdn.microsoft.com/library/de.../faq111700.asp

http://msdn.microsoft.com/library/de...kref_start.asp

Hope this helps
Jay

"Laser Lu" <lu********@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu

Jul 21 '05 #5

P: n/a
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/is...00/GCI/GCI.asp
http://msdn.microsoft.com/msdnmag/is.../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/
"Laser Lu" <lu********@hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu

Jul 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.