共用方式為


Char.IEqualityOperators<Char,Char,Boolean>.Equality(Char, Char) 運算子

定義

比較兩個值來判斷相等。

 static bool System.Numerics.IEqualityOperators<System.Char,System.Char,System.Boolean>.operator ==(char left, char right) = System::Numerics::IEqualityOperators<char, char, bool>::op_Equality;
static bool IEqualityOperators<char,char,bool>.operator == (char left, char right);
static member ( = ) : char * char -> bool
 Shared Operator == (left As Char, right As Char) As Boolean Implements IEqualityOperators(Of Char, Char, Boolean).op_Equality

參數

left
Char

要與 right 比較的值。

right
Char

要與 left 比較的值。

傳回

如果 true 等於 left,則為 right,否則為 false

實作

適用於