Int32.IComparisonOperators<Int32,Int32,Boolean>.LessThan 运算符

定义

比较两个值以确定哪个值更少。

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

参数

left
Int32

要与 right进行比较的值。

right
Int32

要与 left进行比较的值。

返回

如果 left 小于 right,则为 true;否则为 false

实现

适用于