M42.Collections by Daniel Pelsmaeker

<PackageReference Include="M42.Collections" Version="0.6.5056.5071" />

 ISet

public interface ISet : ICollection, IEnumerable
A set of unique elements.

Returns whether the entire set is a proper subset of the specified enumerable collection.

Returns whether the entire set is a proper superset of the specified enumerable collection.

bool IsSubsetOf(IEnumerable other)

Returns whether the entire set is a subset of the specified enumerable collection.

Returns whether the entire set is a superset of the specified enumerable collection.

bool Overlaps(IEnumerable other)

Returns whether this set and the specified enumerable collection have any elements in common.

bool SetEquals(IEnumerable other)

Returns whether this set and the specified enumerable collection have all elements in common.