Assume I have a variable, which is a List(Of T), with 100 elements that are instances of a class....
If I set this variable to a new List(Of T) with another 100 instances, the old ones totally disappear, right? They...die. Absolutely thing of the past, right?
Assuming nothing else points to those 100 things, then yes, they are eligible for garbage collection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With