Click or drag to resize
CollectionUtils Class
Utility methods for enumerables and collections.
Inheritance Hierarchy
SystemObject
  Slash.Collections.UtilsCollectionUtils

Namespace: Slash.Collections.Utils
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public static class CollectionUtils

The CollectionUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDictionaryEqualTKey, TValue
Compares two dictionary for equality.
Public methodStatic memberListEqual
Compares the two passed lists for equality. Two lists are considered equal, if they contain equal elements in the same order.
Public methodStatic memberSequenceEqualT(IEnumerableT, IEnumerableT)
Compares two sequences by comparing their items instead of their references. Also checks the case that both sequences are null. In this case the method returns true.
Public methodStatic memberSequenceEqualT(IEnumerableT, IEnumerableT, IEqualityComparerT)
Compares two sequences by comparing their items instead of their references. Also checks the case that both sequences are null. In this case the method returns true.
Public methodStatic memberSwapT
Swaps the elements with the specified indices in the passed list.
Public methodStatic memberToString
Returns a comma-separated list of the elements of the passed sequence.
Top
See Also