PostSharp//API Reference/Post­Sharp.​Patterns.​Collections/Advisable­Hash­Set<T>/Except­With
Open sandboxFocus

Method ExceptWith

ExceptWith(IEnumerable<T>)

Removes all elements in the specified collection from the current set.

Declaration
public void ExceptWith(IEnumerable<T> other)
Parameters
Type Name Description
IEnumerable<T> other

The collection of items to remove from the set.

Exceptions
Type Condition
ArgumentNullException

other is null.