Implements a Set based on a list. Performance is much better for very small lists than either HashedSet or SortedSet. However, performance degrades rapidly as the data-set gets bigger. Use a HybridSet instead if you are not sure your data-set will always remain very small. Iteration produces elements in the order they were added. However, element order is not guaranteed to be maintained by the various Set mathematical operators.

Namespace: Iesi.Collections
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class ListSet : DictionarySet
Visual Basic
<SerializableAttribute> _
Public Class ListSet _
	Inherits DictionarySet
Visual C++
[SerializableAttribute]
public ref class ListSet : public DictionarySet

Inheritance Hierarchy

System..::..Object
  Iesi.Collections..::..Set
    Iesi.Collections..::..DictionarySet
      Iesi.Collections..::..ListSet

See Also