Wintellect  

Wednesday, August 25, 2004 - Posts

Comparing strings is subtler than it seemed to me at first glance. I was thinking more about IComparable<T>, IComparer<T>, and related issues, and I started looking at how the string class implements these interfaces. Interestingly, the simple Read More...
By email, I got a suggestion that it would be useful for Algorithms.RemoveWhenTrue to return the removed items. This seemed like a good idea, so I've changed the signature to: ICollection<ItemType> RemoveWhenTrue(ICollection<ItemType> collection, Read More...