HashSetComparerTEquals Method (HashSetT, HashSetT) |
Checks if two hashSets contain same set of items or not.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public bool Equals(
HashSet<T> x,
HashSet<T> y
)
Public Function Equals (
x As HashSet(Of T),
y As HashSet(Of T)
) As Boolean
public:
virtual bool Equals(
HashSet<T>^ x,
HashSet<T>^ y
) sealed
abstract Equals :
x : HashSet<'T> *
y : HashSet<'T> -> bool
override Equals :
x : HashSet<'T> *
y : HashSet<'T> -> bool
Parameters
- x
- Type: System.Collections.GenericHashSetT
First hashset. - y
- Type: System.Collections.GenericHashSetT
Second hashset.
Return Value
Type:
BooleanReturns true if both have equal data.
Implements
IEqualityComparerTEquals(T, T)See Also