From: Deep on 2 Sep 2010 02:07
We know garbage collector collects useless ref type
datatype but who collects useless value type like int.
Thanks & Regards
From: Brian Cryer on 2 Sep 2010 05:25
"Deep" <vinodkus(a)gmail.com> wrote in message
> Dear friends,
> We know garbage collector collects useless ref type
> datatype but who collects useless value type like int.
Non-reference types, such as int, are (or at least should be) created on the
stack so the space will be reclaimed when the function/procedure exits. So
the garbage collector shouldn't need to get involved.