Method Equals
Equals(T)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(T other)
Parameters
other
TAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.