Without generics generally I'd dervie from CollectionBase to create typed
collections. Generics mostly fill in this gap except that there are no
virtual methods on List<T> so we can no longer notify other object when a
collection changes during add, remove and set operations. I was curious how
Others were getting around this problem? I thought of doing something like:
class MyCollection : IList<T>, ICollection<T>
{
private List<T> m_list;
}
Then simply operate on m_list for each of the implementation of the
interfaces. I feel like there's a simpler solution out there that I'm not
seeing.
Thanks