共用方式為


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

要比較的第二個值。

傳回

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

實作

適用於