Click or drag to resize
SetTDifferenceWith Method
Computes the difference of this set with another set. The difference of these two sets is all items that appear in this set, but not in otherSet. This set receives the difference of the two sets; the other set is unchanged.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public void DifferenceWith(
	Set<T> otherSet
)

Parameters

otherSet
Type: X3Platform.CollectionsSetT
Set to difference with.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis set and otherSet don't use the same method for comparing items.
Remarks

The difference of two sets is computed in time O(N), where N is the size of the smaller set.

See Also