Equals

PostalAddress.Equals method (1 of 3)

public bool Equals(PostalAddress obj)

See Also


PostalAddress.Equals method (2 of 3)

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


PostalAddress.Equals method (3 of 3)

Determines whether the specified object instances are considered equal.

public bool Equals(PostalAddress x, PostalAddress y)
Parameter Type Description
x PostalAddress The first object to compare.
y PostalAddress 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