Equals

Equals(object)

Determines whether the specified Object is equal to the current Object.

public override bool Equals(object obj)
Parameter Type Description
obj Object The Object to compare with the current Object.

Return Value

Returns a boolean indicating if the passed in object obj is Equal to this.

See Also


Equals(AssociatedPerson)

Determines whether the specified Object is equal to the current Object.

public bool Equals(AssociatedPerson obj)
Parameter Type Description
obj AssociatedPerson The Object to compare with the current Object.

Return Value

Returns a boolean indicating if the passed in object obj is Equal to this.

See Also


Equals(AssociatedPerson, AssociatedPerson)

Determines whether the specified object instances are considered equal.

public bool Equals(AssociatedPerson x, AssociatedPerson y)
Parameter Type Description
x AssociatedPerson The first object to compare.
y AssociatedPerson The second object to compare.

Return Value

true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

See Also