Re: Garbage Collection

Tech-Archive recommends: Fix windows errors by optimizing your registry



<saurabhgarg2k@xxxxxxxxx> wrote:
> i mistakenly write there is no option looping, of course looping is the
> option but wat my query is that is this the only option, cant i dispose
> the whole clooection and the underlying objects without looping.

No. You can easily write a helper method to do that though, and call
that from various places.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: Garbage Collection
    ... i mistakenly write there is no option looping, ... option but wat my query is that is this the only option, cant i dispose ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Garbage Collection
    ... In the dispose method loop throw all objects and dispose those ... > i mistakenly write there is no option looping, ...
    (microsoft.public.dotnet.framework.clr)