Equals

Point.Equals method

Specifies whether this Point contains the same coordinates as the specified Object.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe Object to test.

Return Value

True if obj is a Point and has the same coordinates as this Point.

See Also