Single.Inequality(Single, Single) 操作员
定义
public:
static bool operator !=(float left, float right);
public static bool operator != (float left, float right);
static member op_Inequality : single * single -> bool
Public Shared Operator != (left As Single, right As Single) As Boolean
参数
- left
- Single
要比较的第一个值。The first value to compare.
- right
- Single
要比较的第二个值。The second value to compare.
返回
如果 left
和 right
不相等,则为 true
;否则为 false
。true
if left
and right
are not equal; otherwise, false
.
注解
Inequality 方法定义了 Single 值的不相等运算符。The Inequality method defines the inequality operator for Single values.