Equals

Equals(PhoneNumber)

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

public bool Equals(PhoneNumber obj)
Parameter Type Description
obj PhoneNumber 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(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(PhoneNumber, PhoneNumber)

Determines whether the specified object instances are considered equal.

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