KGySoft.Collections.ObjectModel Namespace

The KGySoft.Collections.ObjectModel namespace contains classes that can be used as collections in the object model of a reusable library. You can use these classes when properties or methods return collections.

Classes

FastLookupCollectionT Similar to CollectionT but IndexOf and Contains methods have O(1) access if the underlying collection is changed through only the FastLookupCollectionT class.
VirtualCollectionT Similar to CollectionT but provides virtual members not just for writing an setting but also for getting elements such as GetItem, GetItemIndex and allows to override also some properties such as Count, IsReadOnly and CanSetItem.