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

实现

适用于