Unit.Equals

Equals(Unit)

Determines whether the specified Unit, is equal to this instance.

public virtual bool Equals(Unit other)
ParameterTypeDescription
otherUnitThe Unit to compare with this instance.

Return Value

true if the specified Unit is equal to this instance; otherwise, false.

See Also


Equals(object)

Determines whether the specified Object, is equal to this instance.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe Object to compare with this instance.

Return Value

true if the specified Object is equal to this instance; otherwise, false.

See Also