[]
        
(Showing Draft Content)

C1.C1Preview.Unit.op_Equality

operator == Operator

operator ==(Unit, Unit)

Tests whether the two unit values are equal.

Declaration
public static bool operator ==(Unit u1, Unit u2)
Parameters
Type Name Description
Unit u1

The first unit value.

Unit u2

The second unit value.

Returns
Type Description
bool

true if the two units are equal, false otherwise.