That's an extension method I wrote. Scroll further down and you'll see I do call `TryRemove`. Also, `TryRemove` only returns false if the item already doesn't exist. So no need for a loop.