Half.Inequality(Half, Half) 操作员

定义

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

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

参数

left
Half

要比较的第一个值。

right
Half

要比较的第二个值。

返回

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

实现

适用于