Garbage collection
So I know that removing an object from a list will cause garbage collection to remove it, but I was wondering if I could instead store an object in a single variable and then assign a new object to that variable after. Will garbage collection still kick in?