Click or drag to resize

CompoundUnitEquals(Object) Method

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

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
The Object to compare with the current CompoundUnit.

Return Value

Boolean
true if the specified Object is equal to the current CompoundUnit; otherwise, false.
Remarks
If obj is not a CompoundUnit or implicitly convertible into one, Equals returns false.

Important: A CompoundUnit is equal to another CompoundUnit if the FirstUnit and SecondUnit types are the same, even if the CompoundUnit subtypes are not the same.

See Also