Equals

Equals(RawRational, RawRational)

Compares a pair of RawRational numbers.

public static bool Equals(RawRational rational, RawRational other)
Parameter Type Description
rational RawRational A rational number.
other RawRational Another rational number.

Return Value

true if the objects are equal; otherwise, false.

See Also


Equals(RawRational)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(RawRational other)
Parameter Type Description
other RawRational An object to compare with this object.

Return Value

true if the current object is equal to the other parameter; otherwise, false.

See Also


Equals(object)

Indicates whether the current object is equal to another object of the same type.

public override bool Equals(object obj)
Parameter Type Description
obj Object An object to compare with this object.

Return Value

true if the current object is equal to the obj parameter; otherwise, false.

See Also