Half.Equality(Half, Half) 运算符

定义

返回一个值,该值指示两个指定的 Half 值是否相等。

public:
 static bool operator ==(Half left, Half right);
public:
 static bool operator ==(Half left, Half right) = System::Numerics::IEqualityOperators<Half, Half>::op_Equality;
public static bool operator == (Half left, Half right);
static member ( = ) : Half * Half -> bool
Public Shared Operator == (left As Half, right As Half) As Boolean

参数

left
Half

要比较的第一个值。

right
Half

要比较的第二个值。

返回

Boolean

如果 leftright 相等,则为 true;否则为 false

实现

System.Numerics.IEqualityOperators`2.op_Equality(`0,`1)

适用于