Equals

Equals(object)

Determines whether the current Point is the same as specified object.

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

Return Value

true

if

obj

parameter is Point and is the same as current Point object; otherwise,

false

See Also


Equals(Point)

Determines whether the current Point is the same as specified Point object.

public bool Equals(Point other)
Parameter Type Description
other Point The object to compare with the current Point object.

Return Value

true

if both Point objects are the same; otherwise,

false

See Also