PhoneNumber.Equals

Equals(PhoneNumber)

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

public bool Equals(PhoneNumber obj)
ParameterTypeDescription
objPhoneNumberThe 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)
ParameterTypeDescription
objObjectThe 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)
ParameterTypeDescription
xPhoneNumberThe first object to compare.
yPhoneNumberThe 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