How do collections implement Remove and Contains? - C#