System resources and Dispose!?

  • Thread starter Thread starter James T.
  • Start date Start date
..NET handles disposal of objects differently.
If part of your application is holding a reference to something then it
will not be disposed of.
Even if nobody has a reference to an object the .NET's garbage
collector will choose an appropriate time to collect the garbage.
 
Back
Top