Quantity<T>.Equality

Operator in Quantity<T>

Declaration

public static bool operator ==(Quantity<T> lhs, Quantity<T> rhs)

Description

Determines if two quantities are equal.

Parameters

lhsThe first quantity to compare.
rhsThe second quantity to compare.

Returns

boolTrue if the quantities are equal, false otherwise.