共用方式為


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>::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

要比較的第二個值。

傳回

Boolean

如果 leftright 不相等,則為 true;否則為 false

實作

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

適用於