If it is a local object, outside the role, theory is invalid. However, there is a need to have a NET framework for automatic recycling. Or call gc.collect () can be recycled manually and see the recycled effect.
If one of the objects in the object is running in another thread, although this object has been disengaged from the scope, it is still not recycled, and the object must be recycled after the thread is ended.