Triangle.Equals

Method in Triangle

Declaration

public bool Equals(Triangle other)

Description

Determines if the triangle is equal to another triangle.

Parameters

otherThe triangle to compare to.

Returns

boolTrue if the triangles are equal, false otherwise.

Overload

Declaration

public override bool Equals(object other)

Description

Determines if the triangle is equal to another triangle.

Parameters

otherThe object to compare to.

Returns

boolTrue if the triangles are equal, false otherwise.