共用方式為


Int32.IEqualityOperators<Int32,Int32,Boolean>.Equality 運算子

定義

比較兩個值來判斷相等。

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

參數

left
Int32

要與 right 比較的值。

right
Int32

要與 left 比較的值。

傳回

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

實作

適用於