[]
        
(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)
Public Shared Operator =(u1 As Unit, u2 As Unit) As Boolean
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.